Click here to Skip to main content
15,889,315 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to display a radiobuttonList along with a textbox with dynamically generated values? Pin
samflex9-May-14 14:33
samflex9-May-14 14:33 
AnswerRe: How to display a radiobuttonList along with a textbox with dynamically generated values? Pin
Richard MacCutchan9-May-14 21:46
mveRichard MacCutchan9-May-14 21:46 
Questionset values to TextBox in Item template of gridview Pin
ganesh169-May-14 6:08
ganesh169-May-14 6:08 
Questionhow t send usper 100 request to a crystal report for tesing report performance Pin
mhd.sbt9-May-14 2:30
mhd.sbt9-May-14 2:30 
AnswerRe: how t send usper 100 request to a crystal report for tesing report performance Pin
V.11-May-14 20:42
professionalV.11-May-14 20:42 
Questionhow to bind data from database to option in classic ASP Pin
Ye Htut7-May-14 18:06
Ye Htut7-May-14 18:06 
AnswerRe: how to bind data from database to option in classic ASP Pin
Peter Leow7-May-14 18:42
professionalPeter Leow7-May-14 18:42 
Questionhow to make dropdownlist select manually inserted value Pin
Nico Haegens7-May-14 0:55
professionalNico Haegens7-May-14 0:55 
Hi, have following situation:
Using a dropdownlist with sqldatasource as source for selectedvalue and objectdatasource as source for the listitems.
I have added 1 item to the dropdownlist in the aspx page. It doesn't show up on the page though. I'm guessing the databind clears the listitems, but where is the best place to put it then?
If I get a null value from the sqldatasource, I need to select the manually added item. If not, I need to select an item from the databound listitems. Of course, if the manually added item stays selected, I need to return that null value back to the sqldatasource for insert/update. Guessing that last part needs to be done in the inserting/updating eventhandler of the sqldatasource, but otherwise, I'm not really sure what to do.
Using the customized dropdownlist I got from the Microsoft website(Customized Dropdownlist), I have fixed the problem that an exception was thrown every time I tried to select the manually inserted item, but it doesn't show on the page.

Anyone care to help me out here?
Thanks.
AnswerRe: how to make dropdownlist select manually inserted value Pin
Shameel7-May-14 1:23
professionalShameel7-May-14 1:23 
AnswerRe: how to make dropdownlist select manually inserted value Pin
Nico Haegens7-May-14 1:38
professionalNico Haegens7-May-14 1:38 
QuestionControl to be focused on postback Pin
Kandepu Rajesh5-May-14 22:47
Kandepu Rajesh5-May-14 22:47 
AnswerRe: Control to be focused on postback Pin
Tom Marvolo Riddle6-May-14 0:04
professionalTom Marvolo Riddle6-May-14 0:04 
GeneralRe: Control to be focused on postback Pin
Kandepu Rajesh6-May-14 0:12
Kandepu Rajesh6-May-14 0:12 
GeneralRe: Control to be focused on postback Pin
Tom Marvolo Riddle6-May-14 0:54
professionalTom Marvolo Riddle6-May-14 0:54 
AnswerRe: Control to be focused on postback Pin
jkirkerx8-May-14 12:09
professionaljkirkerx8-May-14 12:09 
QuestionSwitching from PHP to ASP.NET Pin
Daniel Lieberwirth (BrainInBlack)4-May-14 22:38
professionalDaniel Lieberwirth (BrainInBlack)4-May-14 22:38 
AnswerRe: Switching from PHP to ASP.NET Pin
Peter Leow4-May-14 23:16
professionalPeter Leow4-May-14 23:16 
GeneralRe: Switching from PHP to ASP.NET Pin
Daniel Lieberwirth (BrainInBlack)4-May-14 23:25
professionalDaniel Lieberwirth (BrainInBlack)4-May-14 23:25 
AnswerRe: Switching from PHP to ASP.NET Pin
thatraja4-May-14 23:19
professionalthatraja4-May-14 23:19 
GeneralRe: Switching from PHP to ASP.NET Pin
Daniel Lieberwirth (BrainInBlack)4-May-14 23:29
professionalDaniel Lieberwirth (BrainInBlack)4-May-14 23:29 
GeneralRe: Switching from PHP to ASP.NET Pin
thatraja4-May-14 23:31
professionalthatraja4-May-14 23:31 
GeneralRe: Switching from PHP to ASP.NET Pin
Daniel Lieberwirth (BrainInBlack)4-May-14 23:36
professionalDaniel Lieberwirth (BrainInBlack)4-May-14 23:36 
GeneralRe: Switching from PHP to ASP.NET Pin
jkirkerx8-May-14 12:21
professionaljkirkerx8-May-14 12:21 
Generalinsert data to DB with MS SQL using Classic ASP Pin
Ye Htut4-May-14 19:15
Ye Htut4-May-14 19:15 
GeneralRe: insert data to DB with MS SQL using Classic ASP Pin
Schatak4-May-14 20:27
professionalSchatak4-May-14 20:27 

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.