Click here to Skip to main content
15,886,919 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: automatically update client display based on server data Pin
saanj4-May-09 1:22
saanj4-May-09 1:22 
GeneralRe: automatically update client display based on server data Pin
p_19604-May-09 18:55
p_19604-May-09 18:55 
GeneralRe: automatically update client display based on server data Pin
saanj4-May-09 19:27
saanj4-May-09 19:27 
GeneralRe: automatically update client display based on server data Pin
p_19604-May-09 19:47
p_19604-May-09 19:47 
GeneralRe: automatically update client display based on server data Pin
saanj4-May-09 20:05
saanj4-May-09 20:05 
GeneralRe: automatically update client display based on server data Pin
p_19604-May-09 22:36
p_19604-May-09 22:36 
AnswerRe: automatically update client display based on server data Pin
Baran M4-May-09 18:38
Baran M4-May-09 18:38 
QuestionAccessing the selectedIndex of a dynamically created Dropdownlist... Pin
Radiv Jeshya4-May-09 0:25
Radiv Jeshya4-May-09 0:25 
Hai,

I have created a footer template in my gridview, This footer template contain many dynamically created controls where the dropdownlist is one. I have created the dropdown and assigned a function to it as follows:

DropDownList selPage = new DropDownList();
selPage.ID = "selPage";
selPage.CssClass = "GVFooterSel";
for (int cnt = 0; cnt < GVDoctor.PageCount; cnt++)
{
int curr = cnt + 1;
ListItem item = new ListItem(curr.ToString());
if (cnt == GVDoctor.PageIndex) { item.Selected = true; }
selPage.Items.Add(item);
}
selPage.AutoPostBack = true;
selPage.SelectedIndexChanged += new EventHandler(selPage_SelectedIndexChanged);
selPage.Attributes.Add("onchange", "selPage_SelectedIndexChanged(this,event)");

The functions gets fired but i can't able to find the control and access its selected index.
can any help me?

Smile | :) Radiv Jeshya Smile | :)

AnswerRe: Accessing the selectedIndex of a dynamically created Dropdownlist... Pin
saanj4-May-09 1:26
saanj4-May-09 1:26 
AnswerRe: Accessing the selectedIndex of a dynamically created Dropdownlist... Pin
Uma J5-May-09 0:40
Uma J5-May-09 0:40 
QuestionCart application Pin
Rajesh Kumar Chekuri4-May-09 0:20
Rajesh Kumar Chekuri4-May-09 0:20 
AnswerRe: Cart application Pin
Rajesh Kumar Chekuri4-May-09 2:26
Rajesh Kumar Chekuri4-May-09 2:26 
GeneralRe: Cart application Pin
MidwestLimey4-May-09 5:20
professionalMidwestLimey4-May-09 5:20 
QuestionGet multiple data from table and show in different label boxes Pin
scothykonma4-May-09 0:16
scothykonma4-May-09 0:16 
AnswerRe: Get multiple data from table and show in different label boxes Pin
saanj4-May-09 1:39
saanj4-May-09 1:39 
GeneralRe: Get multiple data from table and show in different label boxes Pin
scothykonma4-May-09 3:46
scothykonma4-May-09 3:46 
GeneralRe: Get multiple data from table and show in different label boxes Pin
saanj4-May-09 18:45
saanj4-May-09 18:45 
AnswerRe: Get multiple data from table and show in different label boxes Pin
Uma J5-May-09 0:46
Uma J5-May-09 0:46 
QuestionHow to tigger updatePanel by a textbox event? Pin
dev sheoran3-May-09 23:55
dev sheoran3-May-09 23:55 
AnswerRe: How to tigger updatePanel by a textbox event? Pin
Abhijit Jana4-May-09 0:49
professionalAbhijit Jana4-May-09 0:49 
AnswerRe: How to tigger updatePanel by a textbox event? Pin
saanj4-May-09 1:42
saanj4-May-09 1:42 
Questionrestrict the user from any action during an web request in asp.net 2.0 Pin
bikash pattanayak3-May-09 23:53
bikash pattanayak3-May-09 23:53 
AnswerRe: restrict the user from any action during an web request in asp.net 2.0 Pin
Abhijit Jana4-May-09 0:43
professionalAbhijit Jana4-May-09 0:43 
AnswerRe: restrict the user from any action during an web request in asp.net 2.0 Pin
saanj4-May-09 1:44
saanj4-May-09 1:44 
QuestionLocalization and Globalization Pin
Member 42532763-May-09 23:31
Member 42532763-May-09 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.