473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

UserControl as DropDownList

Hai,

Here I am using a dropdownlist in a usercontrol.in that i am using some numbers like 5,10,15,20 like that.

Coming to my aspx page.In that i am using a gridview and i added that usercontrol to my page.I have to assign the dropdown value from usercontrol to my gridview page index.whenever i changed the value of the dropdown the gridview pagination should change based on the dropdown value.


I have taken a dropdown in my page and i tried for that.its working fine.But using a usercontrol i am not getting..can anybody help me ??
Oct 28 '07 #1
1 1109
radcaesar
759 Expert 512MB
Are you using it in a TemplateField of Gridview ? Why did u go for usercontrols here.

http://webthingsconsidered.blogspot.com/2005/09/dropdownlist-inside-gridview-or.html
Oct 28 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: VB Programmer | last post by:
I have a usercontrol that contains a dropdownlist that is populated dynamically from a database (Page_Load of usercontrol). How long will the uc "retain" the "life" of that dropdownlist if no...
2
by: Benedict Teoh | last post by:
I created a dropdownlist containing day, month and year field and expose a property to assign a date. When I call from a aspx page and assign the value, the new date is not displayed until a submit...
1
by: Tim | last post by:
Greetings! I have a UserControl. On this UserControl is a Panel and a RadioButtonList. The Panel's Visible property is set to false by default. When the user selects a particular...
1
by: Joe | last post by:
Hello All: I have created a class (UpdatedDropDown) that inherits from DropDownList and I have included the following code in this class: Public Class UpdatedDropDown Inherits DropDownList ...
6
by: p.mc | last post by:
Hi all, I'm having major problems with a userControl which contains a datagrid. My problem concerns data binding. The Page_Load() procedure calls the DataBind procedure to bind the datagrid...
1
by: Giovanni | last post by:
Dear Friends/Gurus, I have exhausted myself and have yet no solution to the following: I have an ASP.NET 2.0 Survey type application. On a page, I have placed a GridView which is bound to an...
3
by: matt | last post by:
hello, i have a usercontrol in my app that draws a DropDownList and some text. elsewhere, i have a need to extract the control's HTML as if it had been rendered in-page. typically, when i...
1
by: Paul | last post by:
Hi all, I have a very simple user control that contains 3 drop downs. Whenever there's a postback the values of these drop downs are lost. I've tried enabling viewstate everywhere without...
3
by: Martin | last post by:
Hi ! I've developed a small UserControl with five textbox and label. However, when I want to display the UserControl in a form, controls appear slowly one after one. I've activated double...
0
by: stevem2112 | last post by:
I have a datagrid with 2 Template columns. One column has DropDownLists and the other has Textboxes. I bind each DDL in the ItemCreated event. This datagrid is inside a UserControl that is inside...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.