Click here to Skip to main content
15,913,854 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCan time be specified when using Calendar control? Pin
kbalias21-Nov-06 17:37
kbalias21-Nov-06 17:37 
GeneralInterview Questions Pin
sharma rajkumar21-Nov-06 15:32
sharma rajkumar21-Nov-06 15:32 
QuestionFrameset like behaviour Pin
enuantum21-Nov-06 12:28
enuantum21-Nov-06 12:28 
QuestionGET VirtualItemCount in GridView Pin
Mohammad Akbarizadegan21-Nov-06 11:00
Mohammad Akbarizadegan21-Nov-06 11:00 
Questionmoving menu Pin
boss-tech21-Nov-06 10:31
boss-tech21-Nov-06 10:31 
AnswerRe: moving menu Pin
Imran Khan Pathan21-Nov-06 17:29
Imran Khan Pathan21-Nov-06 17:29 
QuestionASP.NET clearing output cache Pin
Mirroar21-Nov-06 5:30
Mirroar21-Nov-06 5:30 
QuestionDrop Down Sorting Pin
Sam Heller21-Nov-06 4:19
Sam Heller21-Nov-06 4:19 
I have a drop down that i populate dynamically using database info. Ok no probs there it works fine. The thing is when the drop down's selected index changes it is supposed to populate a textbox with different text. This also works fine but I run in to trouble when there is only one record to go into the drop down. Because of course when selecting this it does not change the selected index because it already is selected.

To fix this i put an additonal option on to the drop down. Called select with a blank value. Like so;

<br />
<br />
                TaglineDropDown.DataSource = dataSet<br />
                TaglineDropDown.DataTextField = "Title"<br />
                TaglineDropDown.DataValueField = "Tagline"<br />
<br />
                TaglineDropDown.DataBind()<br />
<br />
                TaglineDropDown.Items.Add(New ListItem("Select", ""))<br />
                TaglineDropDown.SelectedValue = ""<br />


This no means that the drop down options can always be selected. But the problem is the select appears as the bottom option. in the list. Unlike the rest of the site where the select is the top value. How can I get the select value to be the first in the drop down list???
AnswerRe: Drop Down Sorting Pin
ToddHileHoffer21-Nov-06 5:05
ToddHileHoffer21-Nov-06 5:05 
GeneralRe: Drop Down Sorting Pin
Sam Heller21-Nov-06 5:11
Sam Heller21-Nov-06 5:11 
GeneralRe: Drop Down Sorting Pin
ToddHileHoffer21-Nov-06 5:16
ToddHileHoffer21-Nov-06 5:16 
AnswerRe: Drop Down Sorting Pin
ravikiranreddydharmannagari21-Nov-06 21:51
ravikiranreddydharmannagari21-Nov-06 21:51 
QuestionSorting problem Pin
ayeleteric21-Nov-06 3:55
ayeleteric21-Nov-06 3:55 
AnswerRe: Sorting problem [modified] Pin
ToddHileHoffer21-Nov-06 5:04
ToddHileHoffer21-Nov-06 5:04 
GeneralRe: Sorting problem [modified] Pin
ayeleteric21-Nov-06 22:47
ayeleteric21-Nov-06 22:47 
QuestionBack button issue.......Please help me as soon as possible. Pin
karanji21-Nov-06 3:48
karanji21-Nov-06 3:48 
AnswerRe: Back button issue.......Please help me as soon as possible. Pin
ToddHileHoffer21-Nov-06 4:03
ToddHileHoffer21-Nov-06 4:03 
QuestionPassing parameters to SP Pin
Dayekh21-Nov-06 3:11
Dayekh21-Nov-06 3:11 
AnswerRe: Passing parameters to SP Pin
coolestCoder21-Nov-06 3:15
coolestCoder21-Nov-06 3:15 
GeneralRe: Passing parameters to SP Pin
Dayekh21-Nov-06 3:41
Dayekh21-Nov-06 3:41 
GeneralRe: Passing parameters to SP Pin
Colin Angus Mackay21-Nov-06 4:29
Colin Angus Mackay21-Nov-06 4:29 
GeneralRe: Passing parameters to SP Pin
Dayekh21-Nov-06 4:55
Dayekh21-Nov-06 4:55 
GeneralRe: Passing parameters to SP Pin
Colin Angus Mackay21-Nov-06 6:25
Colin Angus Mackay21-Nov-06 6:25 
GeneralRe: Passing parameters to SP Pin
coolestCoder21-Nov-06 20:00
coolestCoder21-Nov-06 20:00 
GeneralRe: Passing parameters to SP Pin
Dayekh21-Nov-06 22:44
Dayekh21-Nov-06 22:44 

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.