Click here to Skip to main content
15,888,803 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionbasic questions about viewstate Pin
ThetaClear26-Aug-13 22:16
ThetaClear26-Aug-13 22:16 
AnswerRe: basic questions about viewstate Pin
Keith Barrow28-Aug-13 6:21
professionalKeith Barrow28-Aug-13 6:21 
GeneralRe: basic questions about viewstate Pin
ThetaClear28-Aug-13 7:02
ThetaClear28-Aug-13 7:02 
QuestionHow to insert Header Rows into Gridview with custom method? Pin
arcadeRob26-Aug-13 6:57
arcadeRob26-Aug-13 6:57 
QuestionMenu Navigation Pin
Codes DeCodes26-Aug-13 0:37
Codes DeCodes26-Aug-13 0:37 
AnswerRe: Menu Navigation Pin
Paramu197326-Aug-13 4:10
Paramu197326-Aug-13 4:10 
GeneralRe: Menu Navigation Pin
Codes DeCodes26-Aug-13 18:48
Codes DeCodes26-Aug-13 18:48 
AnswerRe: Menu Navigation Pin
Priyanka Bhagwat28-Aug-13 21:33
professionalPriyanka Bhagwat28-Aug-13 21:33 
Hi ..
you can add Menu location field in your data base
SQL


and call that in your dynamic menu
Example as follows
C#
private void getMenu()
      {
          try
          {
              con.Open();
              DataSet ds = new DataSet();
              DataTable dt = new DataTable();
              string sql = "Select * from productGroup_master order by ProductGroupID ";
              OleDbDataAdapter da = new OleDbDataAdapter(sql, con);
              da.Fill(ds);
              dt.Rows.Clear();
              menuBar.Items.Clear();
              dt = ds.Tables[0];
              DataRow[] drowpar = dt.Select("IsActive=1");
              MenuItem newMenuItem = new MenuItem();
              foreach (DataRow dr in drowpar)
              {


                  newMenuItem = new MenuItem(dr["ProductGroupShortName_EN"].ToString(),<a href=""></a>[<a href="" target="_blank"></a>]                   dr["ProductGroupID"].ToString());
                  menuBar.Items.Add(newMenuItem);
                  newMenuItem.NavigateUrl = dr["MenuLocation"].ToString();
              }


              con.Close();
          }
          catch (Exception we)
          { }
      }

GeneralRe: Menu Navigation Pin
Codes DeCodes30-Aug-13 0:45
Codes DeCodes30-Aug-13 0:45 
QuestionUpdatePanel Image -Update Pin
Paramu197325-Aug-13 21:53
Paramu197325-Aug-13 21:53 
AnswerRe: UpdatePanel Image -Update Pin
jkirkerx26-Aug-13 6:52
professionaljkirkerx26-Aug-13 6:52 
QuestionDotnetnuke bootstrap Pin
sarang_k25-Aug-13 2:18
sarang_k25-Aug-13 2:18 
Questionhow to run java command on web server Pin
ianoseb24-Aug-13 23:12
ianoseb24-Aug-13 23:12 
AnswerRe: how to run java command on web server Pin
Bernhard Hiller25-Aug-13 21:24
Bernhard Hiller25-Aug-13 21:24 
QuestionViewing password Pin
larsp77723-Aug-13 3:52
larsp77723-Aug-13 3:52 
AnswerRe: Viewing password Pin
Forbiddenx23-Aug-13 4:37
Forbiddenx23-Aug-13 4:37 
AnswerRe: Viewing password Pin
Boipelo24-Aug-13 10:43
Boipelo24-Aug-13 10:43 
GeneralRe: Viewing password Pin
larsp77724-Aug-13 22:30
larsp77724-Aug-13 22:30 
GeneralRe: Viewing password Pin
Boipelo25-Aug-13 10:11
Boipelo25-Aug-13 10:11 
GeneralRe: Viewing password Pin
Deflinek27-Aug-13 4:24
Deflinek27-Aug-13 4:24 
GeneralRe: Viewing password Pin
larsp77727-Aug-13 21:26
larsp77727-Aug-13 21:26 
SuggestionRe: Viewing password Pin
Richard MacCutchan27-Aug-13 22:34
mveRichard MacCutchan27-Aug-13 22:34 
GeneralRe: Viewing password Pin
larsp77727-Aug-13 23:57
larsp77727-Aug-13 23:57 
GeneralRe: Viewing password Pin
Richard MacCutchan28-Aug-13 1:08
mveRichard MacCutchan28-Aug-13 1:08 
GeneralRe: Viewing password Pin
larsp77728-Aug-13 1:29
larsp77728-Aug-13 1:29 

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.