|
Hi
Mr Christian Graus
I have Taken Menu Control in (2.0)
And My Name of the Page is Menu.aspx
that coding is
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server" >
<asp:Menu ID="Menu1" runat="server" Font-Names="Verdana" Font-Size="0.8em"
ForeColor="White" Height="14px" Orientation="Horizontal"
StaticEnableDefaultPopOutImage="False" StaticSubMenuIndent="10px"
Style="clear: right; display: inline; font-weight: bold; list-style-position: outside; font-size: 15pt; float: none; text-transform: capitalize; color: purple; list-style-type: circle; text-align: justify; text-decoration: underline"
Width="100%" > <%--DataSourceID="SiteMapDataSource1" --%><StaticMenuStyle BackColor="#01145a" />
<StaticMenuItemStyle Font-Size="Small" HorizontalPadding="5px" VerticalPadding="2px" Font-Bold="true" />
<DynamicHoverStyle BackColor="#cccdd5" ForeColor="#01145a" Font-Underline="true" Font-Bold="true" />
<DynamicMenuStyle BackColor="#cccdd5" BorderColor="#ff0000" Font-Bold="true" />
<StaticSelectedStyle BackColor="Fuchsia" BorderColor="Blue" ForeColor="White" Font-Bold="true" />
<DynamicSelectedStyle BackColor="Lime" BorderColor="White" Font-Bold="true" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" Font-Bold="true" />
<StaticHoverStyle BackColor="#01145a" ForeColor="White" />
</asp:Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" />
<table width="100%" >
<tr>
<td align="center" >
<asp:DropDownList ID="ddlMenu" runat="server" Width="200px" Height="22px">
<asp:ListItem Value ="Select">--------------------Select-------------------</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub1</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub2</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub3</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub4</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub5</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub6</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
<asp:TextBox ID="txtMenu" runat="server" Width="180px" Height="20px"></asp:TextBox>
<asp:Button ID="btnMenu" runat="server" Width="70px" Text="AddMenu" onclick="btnMenu_Click" />
</td>
</tr>
</table>
</asp:Content>
And I have Bounded data through Web.SiteMap thst coding is
<siteMap>
<siteMapNode title="Default" description="Home" url="menu.aspx" >
<siteMapNode title="Admin" description="Admin" >
<siteMapNode title="LogIn" url="~/KotakLogin/LogIn.aspx" />
<siteMapNode title="ChangePassword" url="~/KotakLogin/ChangePassword.aspx" />
<siteMapNode title="ResetPassword" url="~/KotakLogin/ResetPassword.aspx" />
</siteMapNode>
<siteMapNode title="Users" description="Users" >
<siteMapNode title="Default ErrorPage" url="DefaultErrorPage.aspx" />
<siteMapNode title="Query Builder" url="~/Admin/QueryBuilder.aspx" />
<siteMapNode title="View QueryBuilder" url="~/Admin/ViewQueryBuilder.aspx" />
</siteMapNode>
<siteMapNode title="Sales" description="Sales" >
<siteMapNode title="SecurityQuestion" url="~/KotakLogin/SecurityQuestion.aspx" />
<siteMapNode title="FisrtLoginChangePassword" url="~/KotakLogin/FisrtLoginChangePassword.aspx" />
</siteMapNode>
<siteMapNode title="Reports" description="Reports" >
<siteMapNode title="RequestForUserRegistration" url="~/KotakLogin/RequestForUserRegistration.aspx" />
<siteMapNode title="UserRegistrationApproval" url="~/KotakLogin/UserRegistrationApproval.aspx" />
</siteMapNode>
<siteMapNode title="Questions" description="Questions" >
<siteMapNode title="Image Viewer" url="~/Admin/ImageViewer.aspx" />
<siteMapNode title="Search" url="Search.aspx" />
</siteMapNode>
</siteMapNode >
</siteMap>
Can any one give me suggestion for this on how to Follow
Thanks And Regards
chandrakanth
Chandrakanth
|
|
|
|
|
You can make changes to what appears in the menu at runtime by manipulating the nodes in the OnMenuItemDataBound event, however persisting changes to the web.sitemap file is not so easy as this file is cached and the changes will not be visible until the application restarts.
|
|
|
|
|
hi friend
i am using thread with COM object but i gated all simple object when thread start but COM object not find. how i manage com object with thread please help me.
Piyush Vardhan Singh
|
|
|
|
|
|
Hi,
I have FarPoint Spread installed, previously we were using it in VB6.0 application.
Now i want to use in ASP.Net Application. I am trying to add this control in toollbox by right Clicking on Tool box ---> Choose Items ---->Com Components. But it doesnt display in Tool box.
Does anyone having idea, what step i am missing.
Thanks !
|
|
|
|
|
iam having a text box in that iam bring some names if the names contains the Email at any place then i have to perform another task. so how i can check that the string in the textbox is an email using javascript
|
|
|
|
|
jagadeeshkumar2106 wrote: how i can check that the string in the textbox is an email using javascript
Use a Regular Expression Validator control and specify a regular expression that checks whether the input corresponds to the format of a valid email address. There are plenty of examples available of you search Google[^].
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
hi mr paul my question is that i have some headers like name,dob ,address
....including this iam having email address header also now how can check wheter the header string contains the words email....so that i can perform some other task with that
|
|
|
|
|
a regex is still the best way to do that.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi All,
I developed web application using asp.net 2.0 ,C#.
My application looks fine(Display wise) in IE6.0 ,but I run same application in IE7 the controls like combo box are not displays properly..
Need help !!
Thanks in advance.
parthiban
|
|
|
|
|
Sounds like you have css issues. Try running it on FireFox and see how bad it looks.
Seriously, getting your styling right for all browsers is a major undertaking.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Visual Studio Generates style tags when you drag drop any control, so just remove the style tags which are generated by the IDE.
Hope this will help you out
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
I have a template Header as below
<asp:templatefield headertext="Exclude Language">
...
</asp:templatefield>
How can I change the header text on Runtime. I want to do it with C#
Regards,
Pavas
|
|
|
|
|
|
Use this line of code where you want to change the HeaderText
"Cell[0]" where0 is the index of the cell
GridView1.HeaderRow.Cells[0].Text = "Usman";
Best of Luck
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
hi all
can anyone tell me what type of styles are used to show the color as glowing(like in yahoo front page)and also the color codes of the colors used in the yahoo front page.
pintoo
|
|
|
|
|
If the color changes, it's being done with javascript, no style or color changes by itself.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hey thanx for the reply.by the way i didn't asked about how the color changes.i want to design like yahoo menu bars.is that menu bars are images designed using some design tools (like flash,photoshop)or designed as aspx pages.
pintoo
|
|
|
|
|
That's CSS. you create a one pixel wide bitmap with the gradient and make it the background image of the button, repeating.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
chithra
The glowing effect is created with images, have a look at the css for the site and you will find the url of the images.
For example here is the header image[^]. You can create this type of image very easily using Photoshop etc but I usually use The Gimp[^] as its free / open source.
|
|
|
|
|
there are some gradient effects in CSS you can also use that if you dont want to use the Image.
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
Hi,
I came across this link and would like to use it.
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx
but I am using visual studio .net 2005 (.net 2.0) how could i do something similar. any web links would be really helpful
thanks in forward.
cheers
|
|
|
|
|
You have to install ASP.NET Ajax and Toolkit in your machine. then, create the ASP.NET Ajax website so you will be able to use this calendar control. I suggest you to take a look at QuickStart tutorial of ASP.NET Ajax..
|
|
|
|
|
you need to install ajax extensions for visual studio 2005
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
Hi! I installed ajax extension but i cant create web applications. is there any tutorials on creating web application using ajax template?
|
|
|
|