Click here to Skip to main content
15,891,828 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how i can view the last genarated row of a grid view when grid view is in the panel Pin
_AK_26-Nov-07 20:14
_AK_26-Nov-07 20:14 
GeneralRe: how i can view the last genarated row of a grid view when grid view is in the panel Pin
jagan12326-Nov-07 19:55
jagan12326-Nov-07 19:55 
QuestionImage Upload in specific location Pin
Ravi_2126-Nov-07 18:47
Ravi_2126-Nov-07 18:47 
AnswerRe: Image Upload in specific location Pin
Michael Sync26-Nov-07 18:54
Michael Sync26-Nov-07 18:54 
AnswerRe: Image Upload in specific location Pin
Ravi_2126-Nov-07 18:59
Ravi_2126-Nov-07 18:59 
GeneralRe: Image Upload in specific location Pin
_AK_26-Nov-07 19:04
_AK_26-Nov-07 19:04 
AnswerRe: Image Upload in specific location Pin
_AK_26-Nov-07 19:10
_AK_26-Nov-07 19:10 
Questiondata driven hierarchial role security based navigation. Pin
uglyeyes26-Nov-07 18:25
uglyeyes26-Nov-07 18:25 
Hi need to create navigation that gets populated via database and is role based. below is the sql



CREATE TABLE [TopMenu] (

[MenuID] [int] IDENTITY (1, 1) NOT NULL ,

[Text] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

[Description] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

[ParentID] [int] NULL ,

CONSTRAINT [PK_Menu] PRIMARY KEY CLUSTERED

(

[MenuID]

) ON [PRIMARY]

) ON [PRIMARY]

GO

INSERT INTO TopMENU

Select 'Property','Property', NULL

UNION ALL Select 'Portfolio','Portfolio', NULL

UNION ALL Select 'Capital Expenditure','PortfolioCapex', 1

UNION ALL Select 'Depreciation','PortfolioDepreciation', 1

UNION ALL Select 'Condition Audit','PortfolioCondition', 1

UNION ALL Select 'Historical Expenditure','PortfolioHisEx', 1

UNION ALL Select 'Property Details','PropertyDetail', 2

UNION ALL Select 'Assets','PropertyAsset', 2

UNION ALL Select 'Depreciation','PropertyDepreciation', 2

UNION ALL Select 'Capital Expenditure','PropertyExpenditure', 2

UNION ALL Select 'Insurance','PropertyInsurance', 2

UNION ALL Select 'Documents','PropertyDocuments', 2

UNION ALL Select 'Capex','PortfolioCapex', 3

UNION ALL Select 'Graph','PortfolioCapexGraph', 3

UNION ALL Select 'Graph','PortfolioDepreciationGraph', 4

UNION ALL Select 'Current Depreciation','PortfolioDepreciation', 4

UNION ALL Select 'WDV & Depreciation','PortfolioDepreciationWDV', 4

UNION ALL Select 'Assets','PropertyAsset', 8

UNION ALL Select 'Capex','PropertyCapex', 8

UNION ALL Select 'Depreciation','PropertyDepreciation', 8

UNION ALL Select 'Condition','PropertyCondition', 8

UNION ALL Select 'Expenditure','PropertyExpenditure', 8

UNION ALL Select 'Disposed','PropertyDisposed', 8

UNION ALL Select 'Capital Ex','PropertyExpenditure', 10

UNION ALL Select 'Capital Ex Graph','PropertyExpenditureGraph', 10

GO

now clearly, I will have two top level navigation



property and portfolio. both property will have subsequent navigation and those subsequest navigation may or may not have another sets of navigation.

I need to display in a row style not in a drop down style for eg. If I am in portfolio link the navigation structure should be as below

Portfolio

Capital Expenditure | Depreciation | Condition Audit | Historical Expenditure

Capex | Graph

by default Capex should be selected. it should also highlight Portfolio, Capital Expenditure and Capex as Capex's parent is Capital Expenditure and Portfolio

I was thinking of using a 3 level datagrid. could someone please help me I am using asp.net 2.0 web application project with vb.net and sql server 2005



thanks in advance





AnswerRe: data driven hierarchial role security based navigation. Pin
uglyeyes27-Nov-07 14:01
uglyeyes27-Nov-07 14:01 
Questionhow to make a textbox to react to each keystroke? Pin
sayonifahim26-Nov-07 18:25
sayonifahim26-Nov-07 18:25 
AnswerRe: how to make a textbox to react to each keystroke? Pin
Sherin Iranimose26-Nov-07 18:48
Sherin Iranimose26-Nov-07 18:48 
QuestionPlay music in web page Pin
steve_rm26-Nov-07 17:44
steve_rm26-Nov-07 17:44 
AnswerRe: Play music in web page Pin
Sun Rays26-Nov-07 18:42
Sun Rays26-Nov-07 18:42 
AnswerRe: Play music in web page Pin
Vasudevan Deepak Kumar26-Nov-07 20:37
Vasudevan Deepak Kumar26-Nov-07 20:37 
QuestionWebconfig session state settings..., [modified] Pin
Member 387988126-Nov-07 17:02
Member 387988126-Nov-07 17:02 
QuestionAsp.net 2.0 Menu Control Pin
Lijo Rajan26-Nov-07 16:58
Lijo Rajan26-Nov-07 16:58 
Questionmodify xml using freetextbox Pin
srinivas43126-Nov-07 16:38
srinivas43126-Nov-07 16:38 
QuestionHelp Pin
cisco210326-Nov-07 15:12
cisco210326-Nov-07 15:12 
AnswerRe: Help Pin
Sherin Iranimose26-Nov-07 17:48
Sherin Iranimose26-Nov-07 17:48 
Questionproblems casting an object to a listbox Pin
foobarDividedByZero26-Nov-07 11:28
foobarDividedByZero26-Nov-07 11:28 
QuestionLoop Through Database Pin
kenexcelon26-Nov-07 9:07
kenexcelon26-Nov-07 9:07 
AnswerRe: Loop Through Database Pin
kenexcelon26-Nov-07 9:51
kenexcelon26-Nov-07 9:51 
GeneralRe: Loop Through Database Pin
John-ph26-Nov-07 20:52
John-ph26-Nov-07 20:52 
QuestionAJAX install question Pin
amatbrewer26-Nov-07 8:11
amatbrewer26-Nov-07 8:11 
AnswerRe: AJAX install question Pin
amatbrewer26-Nov-07 9:39
amatbrewer26-Nov-07 9: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.