Questions tagged [web-user-controls]

107 questions
0
votes
1 answer

Make a Client-Side Custom Events in ASP.NET Web-User Control

I'm developing an Web-user control with a Text-box. Now i need to call Text-box's Client event from my aspx page. Can any one tell me how can i create client side custom events. Edit-1 I need to create custom client side events in my user…
Ashish Rathore
  • 2,546
  • 9
  • 55
  • 91
0
votes
2 answers

how to stop refreshing of current page when any server side event of web user control being fired

I'm building a web user control. Now i need to fire some server side events on web user control. And also need to stop page refreshing. Can any one tell me how can i fire server side event on web user control without refreshing hole page. Edit-1 My…
Ashish Rathore
  • 2,546
  • 9
  • 55
  • 91
0
votes
0 answers

How to store and retrieve DataGridViewRow in HidenField

I am building an WebUserControl, i need to store an entire GridViewRow into a HidenField and i also want to retrieve that row from the HidenField. How to do this? Note: I don't want to avoid Javascript global variables.
Ashish Rathore
  • 2,546
  • 9
  • 55
  • 91
0
votes
0 answers

Web user control stops working when we use multipul instance at one page

I am developing a multi-column combo-box using Ajax and asp controls.My control works fine when we use one instance at a page.But stops working when we use multiple instance on one page. ascx code <%@ Control Language="C#" AutoEventWireup="true"…
Ashish Rathore
  • 2,546
  • 9
  • 55
  • 91
0
votes
1 answer

RangeValidator not working in web user control

I am creating an calendar control using ajax calendar extender.In that control i need to validate date from and to.For that i use asp RangeValidator control.Calander formate is set to [MM/dd/yyyy].
Ashish Rathore
  • 2,546
  • 9
  • 55
  • 91
0
votes
2 answers

How to get web user control's text box value using javascript

I am developing an calendar user control using Ajax calendar extender. User control code <%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs" Inherits="WebUserControl" ClientIDMode="Predictable" %> <%@ Register…
Ashish Rathore
  • 2,546
  • 9
  • 55
  • 91
0
votes
1 answer

Low performance in ASP.NET web base application

Our team is developing a medical product. We are using Telerik Rad controls for the user interface. Actually my task is to find the reason behind the lack of speed and performance in a specific module. That module is actually containing the chain…
Nomi Ali
  • 2,165
  • 3
  • 27
  • 48
0
votes
2 answers

How to create key-value pair property in web user control

I want to pass list of values to web user control from page. Something like this: ... …
drazen
  • 157
  • 2
  • 12
0
votes
0 answers

Can't get Select event at GridView in userControl

I have button and GridView at UserControl. When I press button.It will perform at PageLoad function. But when I click select in GridView.It can't work same button at PageLoad. if (!IsPostBack){} else{ string…
0
votes
1 answer

How to load user control in page with specification?

I have a user control where I taken two tables, now I want to add this user control to a aspx page. But there is a condition that I have to show only one table. I am using LoadControl("UC page url") for loading. Please help me to do this. Thanks,
Diboliya
  • 1,124
  • 3
  • 15
  • 38
0
votes
1 answer

ASP.NET Calling methods on user controls

I have created an user control as follows to upload images. In it's code behind I have the method to save the image. <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCImageUploader.ascx.cs" …
GC86
  • 3
  • 3
0
votes
1 answer

Align dynamically loaded user controls horizontally inside HTML table cell

I have a html table which has a element with runat=server. I am loading some user controls inside it from code behind. This is the user control HTML <%@ Control…
Manas Saha
  • 1,477
  • 9
  • 29
  • 44
0
votes
1 answer

ASP.NET Update Panel Not Working Inside Web User Control

I have created a html5 canvas and javascript signature pad that I would like to implement as a web user control with an update panel to handle the button clicks. For some reason if I add the update panel and signature pad controls directly into the…
James Sumner
  • 138
  • 3
  • 15
0
votes
1 answer

ASP.NET: How do I create radio buttons and databind them in a DetailsView?

I have a TemplateField in a DetailsView and its input should be one of a few choices in a lookup table. Currently it's a text field, but I want it to be a group of radio buttons, and it should work in both insert and edit mode (the correct current…
Gudmundur Orn
  • 2,003
  • 2
  • 23
  • 31
0
votes
1 answer

two different user controls in same asp.net page

this is my application link please download i had 2 different user controls in one .aspx page. first user control was dropdownlist binded with database. second user control was gridview. if i select a company int the dropdownlist products of that…
user1323735