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

ASP.NET

 
GeneralRe: Totally confused about updating the database - asp.net & vb.net Pin
digsy_22-Aug-06 7:49
digsy_22-Aug-06 7:49 
Questionrange in excel workbook Pin
playout21-Aug-06 8:14
playout21-Aug-06 8:14 
AnswerRe: range in excel workbook Pin
Mike Ellison21-Aug-06 8:33
Mike Ellison21-Aug-06 8:33 
GeneralRe: range in excel workbook Pin
playout21-Aug-06 20:46
playout21-Aug-06 20:46 
GeneralRe: range in excel workbook Pin
Mike Ellison22-Aug-06 5:59
Mike Ellison22-Aug-06 5:59 
GeneralRe: range in excel workbook Pin
playout22-Aug-06 9:54
playout22-Aug-06 9:54 
GeneralRe: range in excel workbook Pin
Mike Ellison22-Aug-06 10:42
Mike Ellison22-Aug-06 10:42 
QuestionCentralised Coding of a menu [modified] Pin
JGOnline21-Aug-06 8:01
JGOnline21-Aug-06 8:01 
Problem,

To create a navigation menu that can be pulled into multiple pages, one that can change menu button imageurls (for up and down pressed buttons) and one that can access the page its pulled into or be given two values. (person type and person) Here what I have so far:

Create a control, either static or dynamic, something like below

<code<aspSmile | :) hyperlink id="GoPerson_View" runat="server">

then use the page name to determine if the button should be pressed down


Dim PageName As String = HttpContext.Current.Request.Path.ToString<br />
If PageName.Contains("Person_View") Then<br />
GoPerson_View.ImageUrl = "~/images/buttons/Person_View_Down.jpg"<br />
Else<br />
GoPerson_View.ImageUrl = "~/images/buttons/Person_View.jpg"<br />
End If



then i just need to assign the navigation properties

<br />
GoPerson_View.NavigateUrl = "~/Person_View.aspx?pid=" & PersonSelect.SelectedValue & "&fid=" & PersonTypeSelect.SelectedValue<br />


The issue being, without this code being on every page, and the controls too, i cannot get it to update properly if the personselect and persontypeselect values change (these are a list box and drop down list on each page).

this is becoming a major task to update each time a new page is being added. How do i get all this code into a central location.



-- modified at 14:03 Monday 21st August, 2006
QuestionASP object data source? Pin
Solly7421-Aug-06 7:44
Solly7421-Aug-06 7:44 
AnswerRe: ASP object data source? Pin
Grapes-R-Fun21-Aug-06 15:47
Grapes-R-Fun21-Aug-06 15:47 
AnswerRe: ASP object data source? Pin
minhpc_bk21-Aug-06 16:13
minhpc_bk21-Aug-06 16:13 
QuestionDisplay curr in EUR in DataGrid for en-GB culture [modified] Pin
Josh Blair21-Aug-06 7:25
Josh Blair21-Aug-06 7:25 
AnswerRe: Display curr in EUR in DataGrid for en-GB culture Pin
minhpc_bk21-Aug-06 16:09
minhpc_bk21-Aug-06 16:09 
GeneralRe: Display curr in EUR in DataGrid for en-GB culture Pin
Josh Blair22-Aug-06 0:32
Josh Blair22-Aug-06 0:32 
Questiontextbox /calender Pin
omi9821-Aug-06 7:23
omi9821-Aug-06 7:23 
AnswerRe: textbox /calender Pin
Mike Ellison21-Aug-06 8:30
Mike Ellison21-Aug-06 8:30 
AnswerRe: textbox /calender [modified] Pin
postmaster@programmingknowledge.com21-Aug-06 9:58
postmaster@programmingknowledge.com21-Aug-06 9:58 
QuestionEmbed Javascript File Pin
Lash2021-Aug-06 6:05
Lash2021-Aug-06 6:05 
AnswerRe: Embed Javascript File Pin
Mike Ellison21-Aug-06 6:39
Mike Ellison21-Aug-06 6:39 
QuestionASCX files and variables Pin
JGOnline21-Aug-06 5:13
JGOnline21-Aug-06 5:13 
AnswerRe: ASCX files and variables Pin
ToddHileHoffer21-Aug-06 6:58
ToddHileHoffer21-Aug-06 6:58 
Questiondatabinding a dropdown list in asp.net and c# Pin
gbabu1721-Aug-06 5:07
gbabu1721-Aug-06 5:07 
AnswerRe: databinding a dropdown list in asp.net and c# Pin
ToddHileHoffer21-Aug-06 5:16
ToddHileHoffer21-Aug-06 5:16 
GeneralRe: databinding a dropdown list in asp.net and c# Pin
gbabu1721-Aug-06 5:44
gbabu1721-Aug-06 5:44 
AnswerRe: databinding a dropdown list in asp.net and c# Pin
Sidonath21-Aug-06 5:33
Sidonath21-Aug-06 5:33 

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.