Questions tagged [asp.net-customcontrol]

37 questions
0
votes
1 answer

Visual Studio keeps replacing my custom control namespace in designer.cs

I try to create a custom control which inherits from GridView ( using tut http://msdn.microsoft.com/en-us/library/yhzc935f(v=vs.100).aspx ). After each build Visual Studio keeps replacing my reference to my custom namespace with its own in…
user310291
  • 36,946
  • 82
  • 271
  • 487
0
votes
1 answer

Custom Repeater doesn't fire ItemCommand on Some Items

I've created a custom repeater control with two seperate ItemTemplates. The first Template is to display Featured Items, and the second to display unfeatured items so that they can be chosen as featured items. The featured template also renders…
0
votes
1 answer

How to Create custom control in asp.net with jquery

Please can any body provide the code example. how to embedded jquery datapicker in asp.net textbox.. Mean how do i create this using asp.net control with jquery.
Rahul Kumar
  • 528
  • 1
  • 3
  • 19
0
votes
1 answer

Calling javascript function after composite control rendering

Is there any way to call a javascript function after composite control rendering.I need to place four movable anchors on top of the image control. I am planning to implement the anchors using html Img control. I have already embedded a javascript…
Senan
  • 411
  • 2
  • 6
  • 16
-1
votes
1 answer

Custom Web Control ID includes child ID

My Custom Web Control (ascx) <%@ Control Language="C#" AutoEventWireup="true" CodeFile="CustomAutoCompleteTextBox.ascx.cs" Inherits="UserControls_CustomAutoCompleteTextBox" ClientIDMode="Static" %>
user3140169
  • 221
  • 3
  • 12
-1
votes
1 answer

Only one instance of custom control can register in page like scriptmanager

I am creating a custom web control that I need only one instance of control user can add in page, same like scriptmanager. I need this check under custom control it self but not getting any correct approach, I know by iterating page.controls…
Neeraj Kumar Gupta
  • 2,157
  • 7
  • 30
  • 58
-2
votes
1 answer

ASP.NET MVC 5 - Custom html controls

i would like to create custom html controls or form control. I can not find tutorial for it. I would like to create new controls or override existing form control. For example - override button and add icon into button. Thanks
bluray
  • 1,875
  • 5
  • 36
  • 68
1 2
3