Click here to Skip to main content
15,884,838 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to Create and Access Session Variables Pin
Sandeep Mewara18-Sep-12 22:25
mveSandeep Mewara18-Sep-12 22:25 
AnswerRe: How to Create and Access Session Variables Pin
jkirkerx19-Sep-12 10:04
professionaljkirkerx19-Sep-12 10:04 
GeneralRe: How to Create and Access Session Variables Pin
gopal pradhan8-Nov-12 23:25
gopal pradhan8-Nov-12 23:25 
AnswerRe: How to Create and Access Session Variables Pin
niranjan47923-Sep-12 21:15
niranjan47923-Sep-12 21:15 
QuestionTurning a VS2010 project into a control Pin
Syntax 40418-Sep-12 13:35
Syntax 40418-Sep-12 13:35 
AnswerRe: Turning a VS2010 project into a control Pin
Sandeep Mewara18-Sep-12 22:55
mveSandeep Mewara18-Sep-12 22:55 
QuestionDynamic Control Help. Pin
sam_asp.net18-Sep-12 10:13
sam_asp.net18-Sep-12 10:13 
AnswerRe: Dynamic Control Help. Pin
Sandeep Mewara18-Sep-12 22:33
mveSandeep Mewara18-Sep-12 22:33 
Steps:
1. Define a GENERATE Button click handler X
2. In X, get the number provided in Textbox (say y)
3. Define a counter(say z). Set it to one.
4. Code a for loop from zero to y-1 (loop runs y times)
5. Create a dropdownlist inside the loop using new.

  • Provide ID
  • Define a datasource - a list
  • Populate list with fixed 10 numbers starting from z. for first loop z goes from 1 to 10, next 11-20...
  • Bind the datasource to dropdonw
  • Add the dropdown to the defined panel/placeholder in UI

6. Once for loop ends, create a button (A), define click event and add that too the defined panel/placeholder in UI.
7. for click event of A, do your manipulations as per need.

Try!
Sandeep Mewara
Microsoft ASP.NET MVP

[My latest Article]: Server side Delimiters in ASP.NET[^]

QuestionDisplaying multiple overlapping images Pin
avsesis18-Sep-12 3:09
avsesis18-Sep-12 3:09 
AnswerRe: Displaying multiple overlapping images Pin
R. Giskard Reventlov18-Sep-12 5:03
R. Giskard Reventlov18-Sep-12 5:03 
QuestionRun .3.5 website with .net4 on server Pin
golrokh_ka16-Sep-12 21:30
golrokh_ka16-Sep-12 21:30 
AnswerRe: Run .3.5 website with .net4 on server Pin
_Amy17-Sep-12 4:40
professional_Amy17-Sep-12 4:40 
QuestionRun .3.5 website with .net4 on server Pin
golrokh_ka16-Sep-12 21:28
golrokh_ka16-Sep-12 21:28 
QuestionHow to enable tabbing in textbox Pin
vinay_sinha16-Sep-12 21:16
vinay_sinha16-Sep-12 21:16 
AnswerRe: How to enable tabbing in textbox Pin
_Amy17-Sep-12 4:46
professional_Amy17-Sep-12 4:46 
GeneralRe: How to enable tabbing in textbox Pin
vinay_sinha20-Sep-12 21:28
vinay_sinha20-Sep-12 21:28 
Questionhow to apply sorting in grid view field through codebehind Pin
anshu7716-Sep-12 20:37
anshu7716-Sep-12 20:37 
AnswerRe: how to apply sorting in grid view field through codebehind Pin
_Amy17-Sep-12 4:51
professional_Amy17-Sep-12 4:51 
SuggestionRe: how to apply sorting in grid view field through codebehind Pin
gopal pradhan8-Nov-12 23:26
gopal pradhan8-Nov-12 23:26 
GeneralRe: how to apply sorting in grid view field through codebehind Pin
fjdiewornncalwe9-Nov-12 5:47
professionalfjdiewornncalwe9-Nov-12 5:47 
QuestionHow to send SMS using Web services ASP.NET C# Pin
Leo Rajendra Dhakal16-Sep-12 19:35
Leo Rajendra Dhakal16-Sep-12 19:35 
AnswerRe: How to send SMS using Web services ASP.NET C# Pin
AmitGajjar16-Sep-12 20:11
professionalAmitGajjar16-Sep-12 20:11 
GeneralRe: How to send SMS using Web services ASP.NET C# Pin
Leo Rajendra Dhakal17-Sep-12 22:43
Leo Rajendra Dhakal17-Sep-12 22:43 
QuestionGrouping gridview row data Pin
Alok Sharma ji16-Sep-12 18:58
Alok Sharma ji16-Sep-12 18:58 
AnswerRe: Grouping gridview row data Pin
KiranKumar Roy18-Oct-12 2:54
KiranKumar Roy18-Oct-12 2:54 

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.