Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

drop-down-menu

Databind ASP.NET List of ListItem to DropDownList issue

August 31, 2022 by Magenaut

I’ve just come across this bizarre thing that I was expecting to work in a different (logical) way, but it doesn’t. Is it a bug or a “feature”?

Categories ASP.NET, Q&A Tags asp.net, data-binding, drop-down-menu, list, listitem Leave a comment

SelectedValue vs SelectedItem.Value of DropDownList

August 31, 2022 by Magenaut

I’m working on an old project written and then patched by several people over the years. At some places they have used SelectedValue property and other places they used SelectedItem.Value.

Categories ASP.NET, Q&A Tags .net, asp.net, drop-down-menu Leave a comment

Best way of implementing DropDownList in ASP.NET MVC 2?

August 30, 2022 by Magenaut

I am trying to understand the best way of implementing a DropDownList in ASP.NET MVC 2 using the DropDownListFor helper. This is a multi-part question.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-mvc-2, drop-down-menu Leave a comment

Dynamically populate the drop-down using jQuery in ASP.Net MVC3

August 30, 2022 by Magenaut

I have two models:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc-3, drop-down-menu, jquery Leave a comment

Asp.Net, DropDownList, AutoPostBack and Google Chrome

August 30, 2022 by Magenaut

I’ve a simple asp.net page (framework 3.5) and an UpdatePanel with a series of dropdownlist I want to populate asyncronously. All works fine in all major browsers (Opera, Safari, IE6, IE7, FF3), but not in Chrome.

Categories ASP.NET, Q&A Tags asp.net, autopostback, drop-down-menu, google-chrome Leave a comment

Format DropDownList.TextValue

August 29, 2022 by Magenaut

My stored procedure is like this

Categories ASP.NET, Q&A Tags .net, asp.net, c#, drop-down-menu Leave a comment

How to format individual DropDownlist Items (color, etc.) during onDataBinding event

August 29, 2022 by Magenaut

I have a basic DropDownList bound to a ObjectDataSource:

Categories ASP.NET, Q&A Tags asp.net, c#, drop-down-menu Leave a comment

Subclassing DropDownList in ASP.NET

August 28, 2022 by Magenaut

I want to subclass the built-in DropDownList in ASP.NET so that I can add functionality to it and use it in my pages. I tried doing this with a UserControl but found that it doesn’t expose the internal DropDownList (logically, I guess). I’ve googled for the answer but can’t find anything.

Categories ASP.NET, Q&A Tags asp.net, c#, drop-down-menu, subclass, user-controls Leave a comment

How can I get the selected item of a dropdownlist, the first time my page loads?

August 28, 2022 by Magenaut

I’m looking for a solution to get the first selected item in a DropDownList. And I want to get it when the page loads for the first time.

Categories ASP.NET, Q&A Tags .net, asp.net, c#, drop-down-menu Leave a comment

DropdownList.selectedIndex always 0 (yes, I do have !isPostBack)

August 28, 2022 by Magenaut

(Scroll down to bottom of post to find solution.)

Categories ASP.NET, Q&A Tags asp.net, c#, drop-down-menu, postback Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page6 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress