Click here to Skip to main content
16,004,927 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: GridView not showing updations Pin
nagendrathecoder25-Aug-09 1:00
nagendrathecoder25-Aug-09 1:00 
GeneralRe: GridView not showing updations Pin
nagendrathecoder25-Aug-09 1:01
nagendrathecoder25-Aug-09 1:01 
GeneralRe: GridView not showing updations Pin
Blue_Boy25-Aug-09 1:10
Blue_Boy25-Aug-09 1:10 
GeneralRe: GridView not showing updations Pin
nagendrathecoder25-Aug-09 1:15
nagendrathecoder25-Aug-09 1:15 
AnswerRe: GridView not showing updations [modified] Pin
Amit Patel198525-Aug-09 1:15
Amit Patel198525-Aug-09 1:15 
GeneralRe: GridView not showing updations Pin
N a v a n e e t h25-Aug-09 1:18
N a v a n e e t h25-Aug-09 1:18 
AnswerRe: GridView not showing updations Pin
nagendrathecoder25-Aug-09 1:17
nagendrathecoder25-Aug-09 1:17 
QuestionChild node Not allowed in web.comfig Pin
maverick068124-Aug-09 23:45
maverick068124-Aug-09 23:45 
AnswerRe: Child node Not allowed in web.comfig Pin
N a v a n e e t h25-Aug-09 0:43
N a v a n e e t h25-Aug-09 0:43 
QuestionUser Control Pin
geeeeeeeetha24-Aug-09 23:30
geeeeeeeetha24-Aug-09 23:30 
AnswerRe: User Control Pin
padmanabhan N24-Aug-09 23:35
padmanabhan N24-Aug-09 23:35 
GeneralRe: User Control Pin
geeeeeeeetha24-Aug-09 23:52
geeeeeeeetha24-Aug-09 23:52 
QuestionDataList: Collecting IDs and TextBox values at same time Pin
Member 340288624-Aug-09 23:19
Member 340288624-Aug-09 23:19 
QuestionGenerate Events from Controls in ModalPopupExtender [modified] Pin
astrovirgin24-Aug-09 22:36
astrovirgin24-Aug-09 22:36 
QuestionASP.Net with Java Script Pin
Amit Patel198524-Aug-09 22:34
Amit Patel198524-Aug-09 22:34 
AnswerRe: ASP.Net with Java Script Pin
N a v a n e e t h25-Aug-09 0:50
N a v a n e e t h25-Aug-09 0:50 
QuestionCould not load file or assembly Pin
gtaure24-Aug-09 22:14
gtaure24-Aug-09 22:14 
Questionmenu index of a certain menu item.... Pin
RajpootRohan24-Aug-09 22:03
professionalRajpootRohan24-Aug-09 22:03 
Hi to all,

I am trying to add the menu items dynamically. But I am stucked in problem. I am unable to find the index of the menu items where menu text is "something".
public void populate_menu()
{
    DataSet ds = GetMenuData();
    foreach(DataRow drow in ds.Tables["CATEGORY"].Rows)
    {
        MenuItem masteritem = new MenuItem((string)drow["category_name"]);
        name = masteritem.Text;
        get_id();
        par_id = Convert.ToInt32 (ViewState["p_id"]);
        if (par_id == 0)
        {
            Menu1.Items.Add(masteritem);
        }
        else
        {
            //now find the category whose category_id is par_id
            get_category_name();
            ca_name = ViewState["cname"].ToString();

            //get the menu index where category name is "ca_name"


            //then under that category, add this sub category
            Menu1.Items[0].ChildItems.Add(masteritem);
        }
    }
}


please assist me..

cheers,
sneha

AnswerRe: menu index of a certain menu item.... Pin
N a v a n e e t h25-Aug-09 1:14
N a v a n e e t h25-Aug-09 1:14 
QuestionRetrive an image in web page Pin
rinku soni 2324-Aug-09 21:56
rinku soni 2324-Aug-09 21:56 
AnswerRe: Retrive an image in web page Pin
RajpootRohan24-Aug-09 22:07
professionalRajpootRohan24-Aug-09 22:07 
AnswerRe: Retrive an image in web page Pin
SeMartens25-Aug-09 0:43
SeMartens25-Aug-09 0:43 
QuestionC# in ASP.Net Pin
darolia.manish24-Aug-09 21:30
darolia.manish24-Aug-09 21:30 
AnswerRe: C# in ASP.Net Pin
Suresh Suthar24-Aug-09 21:34
professionalSuresh Suthar24-Aug-09 21:34 
AnswerRe: C# in ASP.Net Pin
RajpootRohan24-Aug-09 21:39
professionalRajpootRohan24-Aug-09 21:39 

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.