|
Well, add some top level nodes, then the next level down and so on. Whats so difficult?
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
add some top level nodes, then the next level down and so on.Is very easy but how can we show it visually in asp.net
|
|
|
|
|
|
This looks like a collection of unrelated buzzwords to me. mlm IS multi level marketing. What does it have to do with ASP.NET ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi all,
I use to add some .swf files to my HTML pages in Macromedia Dreamweaver through Insert > Media > Flash, also possible with Microsoft FrontPage 2003.
How do I go about this in my .aspx pages. Also, I want some of the animation to be a link to a particular page.
Help me out.
Tunsten
|
|
|
|
|
|
Hi all,
I want to know how to make my web users customize the appearance and look like YAHOO! makes that provision for its web-mail users.
Thank you all for your usual support.
Tunsten
|
|
|
|
|
|
Just a note. When asking a question. Try to be more specific. There are many different ways you could do what you are asking. A lot of perople here take offense at open questions and will be sharp with their replies.
Anyway.......
If you didn't want to use Personalization it would be pretty easy to do this with cookies.
First set up a design using master pages and css.
Then create a base class for your child pages to inherit from. This should inherit from system.web.ui.page.
This class should have the following code:
In VB:
Protected Overrides Sub OnPreInit(ByVal e As System.EventArgs)
'load the theme
Page.Theme = "Set your theme here."
MyBase.OnPreInit(e)
End Sub
In C#:
protected override void OnPreInit(System.EventArgs e)
{
Page.Theme = "Set your theme here.";
base.OnPreInit(e);
}
That will tell your page to use whatever theme you set.
From then you could write a class that checks for a cookie whenever the page loads to see what theme the user wants. If it can't find one then it should set a default theme. That same class would then set a cookie for the user whenever they choose a theme.
You'll need to set up something to allow the user to choose the theme from the ones you have available.
A dropdownlist that is bound to the names of the css files in you App_Themes directory would do it. Stick that on your masterpage and the user will then be able to choose at will.
If you set the cookie to expire far enough in the future, then the user will not have to change the theme again until their browser cookies are cleared.
That should hopefully get you started.
JimBob SquarePants
*******************************************************************
"He took everything personally, including our royalties!"
David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager
*******************************************************************
|
|
|
|
|
I'm stumpt on this one. I have a Visual Studio 2005 web site project that we've successfully published for well over a year now. Unfortunately yesterday it started to fail with the message:
------ Build started: Project: C:\...\WebSite\, Configuration: Debug .NET ------
Pre-compiling Web Site
Building directory '/App_GlobalResources/'.
Building directory '/App_WebReferences/'.
Building directory '/App_Code/CSCode/'.
Building directory '/App_Code/VBCode/'.
Building directory '/App_Code/'.: Publication (web): Object reference not set to an instance of an object.
Pre-compilation Complete
------ Skipped Publish: Project C:\...\WebSite\, Configuration: Debug .NET ------
I've had a look around and I couldn't find any solution to this. Some say it was intermittent and it goes away after a while, but I've had umpteen failed publish operations since yesterday and see no evidence that it will just go away on its own.
Any ideas of what I can look in to?
|
|
|
|
|
What did you add or remove Recently on your Project it cannot just give this Error.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Vuyiswa Maseko wrote: What did you add or remove Recently on your Project it cannot just give this Error.
Well, one would think. That's what I cannot figure out. The bit that it is failing has had zero changes. There have been no changes to the AppCode folder. There have been changes elsewhere, but it builds and debugs fine, but if I try and publish it then it doesn't work.
|
|
|
|
|
This is really strange.
ok back up your App_Code and delete everything there. Build your Project , you will obviously get Errors and copy back the backup contents. Don't copy the folder copy only the contents and built it again and see if this line appears again
Building directory '/App_Code/'.: Publication (web): Object reference not set to an instance of an object.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I've not tried that yet - I will add it to the list of things to try. I'm currently seeing what it does if I build it in Debug mode (seeing as it seemed to think already it was in debug mode, when I thought I'd set it to release)
|
|
|
|
|
I had such Problems before. now i dont change it , i leave it with "Release"
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
That used to happen when the root folder of the website was '/' (rather than the default website name). Try changing the root folder (properties on web site project) and see if it works. If that's the problem, there was probably a hotfix or something for it (?)
|
|
|
|
|
I suggest you try this: http://www.integrationpractices.com/post/2010/02/17/Publication-(web)-Object-reference-not-set-to-an-instance-of-an-object.aspx
It perfectly worked for me.
|
|
|
|
|
Hi,
I am making a form in asp.net 3.5 which will send an email to the recipient
Initially I was using system.web.mail
as it is obvious whenever you send an email to some recipient a display name appears instead
of the email id of the sender
consider:
mail_sender=mail@gmail.com
display_name="my name"
in my case instead of the display_name "mail" the initial portion of the sender's email id is coming
but it is desired that "my name" should appear in the recipient's inbox.
due to this I had to switch to system.net.mail
but there also same problem occurs.
I have tried googling on this issue too, but still no help.
Any help shall be appreciated !
Thanks
Shankbond
|
|
|
|
|
Hi all
I am using login control of asp.net 2.0 for login.
if the login succeeds then menu.aspx page open
1. Now my problem is to check on menu page is the user logined in or not??
2. if yes how to logout the user.
3. how to give user access ??
4. how to hide login view control on master page on access.aspx page
thanks in advance
jagwinder
One person's data is another person's program.
--J.Walia
|
|
|
|
|
Have you read the documentation ? Why is the login control on your master page at all ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
CG is right, make a separate page for Login Control and definitely read documentation.
|
|
|
|
|
i said i put login view on master not login control....
i hope u understand this time
One person's data is another person's program.
--J.Walia
|
|
|
|
|
OK - so, you hide it by setting it's visibility. I'm not sure what the issue is.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
how we can hide a control of master page in run time.
One person's data is another person's program.
--J.Walia
|
|
|
|
|
Use .Master property. You can get MasterPage from this property and then use FindControl() method to cast Login View. Then you can make the control invisible.
|
|
|
|