|
niki_nilu wrote: that time that username will save in globaly.
What do you mean by saving Globally ? Do you want all the visitors get this information or only that user who is logging in ? If all users should get the value, Session won't help much.
|
|
|
|
|
I have to display 20 Ads which are stored in a database. I am using a GridView to display these Ads (3 Ads in one page). Is it possible to add a timer to the GridView so that it will automatically display the next page of Ads in every 30 seconds
|
|
|
|
|
You can use "Javascript Timer" for that.
OR
Use ASP.NET Ajax Timer control..
|
|
|
|
|
By using AJAX controls we can do this
Thanks & Regards
Niranjan
|
|
|
|
|
im a newbie in c# could anyone help me with me a code.. i have a dropdown month which start FRom to To. I have a data through database accordingly to month so i want to to view the data according to their month for example data for january, data for feb, and so far an so on depending of what month did i choose in the dropdown.(hope you'll understand my situation. Please somebody help me out to this code.)
|
|
|
|
|
1. You need to know how to bind the Dropdownlist with Dataset. (If you want the code for that, you can google like that "ASP.NET Dropdownlist with DataSet")
2. There is one event called SelectedIndexChanged in Dropdownlist. You can need to write the code in this event to bind your dpl with Dataset. As you want to query the data according to the selected month, you need to pass the selected value of dropdownlist to your querystring..
That's all..
|
|
|
|
|
Hi,
I need an example that to know
we can do in Repeater but not in Grid view. Can any one give example for this.
It will gives clarification for me regarding these two controls.
Thanks in Advance
G. Satish
|
|
|
|
|
|
You should probably search like "GridView Vs Repeater" or "DataGrid Vs Repeater"...
|
|
|
|
|
Hi all:
I recently graduated from SetFocus' .NET Masters program, and I'm working on my firts website. It's going to be a community website, for me and my friends, and I'm having fun applying everything I learned, but there are some things that have me confounded.
For one thing I've added a background image to my Master page, but when I view any of the pages of my site in my browser (Firefox), the image does not appear (note, I've also tried it with IE6, but no luck). I've tried using Style to configure the background, and I've also tried it using the properties of the master page. I've checked a number of websites including Google, and even this site, for anything that might explain why this is happening, but haven't found anything useful. Does anyone know of any additional configuration that needs to be done to view a background image?
Other questions that have come up are:
1. whether we can name the web.sitemap file anything we choose (and if so, how do I point components like sitemap path and menu to a sitemap with a different name)?
2. how do I get changes to the content on the master page to show up on the other pages on my site (it doesn't automatically update, and I have to use the smart tag to "default to master content", which "loses" other content that I might have on the individual page).
Any help that you can offer would be greatly appreciated....
Draykko
=======================
Every experience in life is a lesson to be learned
A. Stevens
B.S., Computer Science
|
|
|
|
|
Are you sure that your content pages refer to that masterpage? You must either use the MasterPageFile attribute in the <%@ Page %> directive of every page to refer to your masterpage or you could use the masterPageFile attribute of the <pages> element in web.config (more recommended, your masterpage will be used for every .aspx file in your website as long as you don't define a different masterpage in your pages.)
|
|
|
|
|
Just to confirm, if I make a change to the Masterpage it should show up in any pages that refer to that Masterpage, correct? If that's true, then something is not set correctly in my project; everytime I make a change on my Masterpage it doesn't show up in any of the pages that reference the Masterpage (unless I use the "default to Masterpage" under the smart tag). The only other way to get the changes to appear is to create a brand new page.
=======================
Every experience in life is a lesson to be learned
A. Stevens
B.S., Computer Science
|
|
|
|
|
Hello All,
I am getting one error on server
"A namespace does not directly contain members such as fields or methods"
When i am requesting this page on server.
While page is working fine on Localhost.
Can any one suggest me what kind of error is this and why this error is coming.
Thanks and Regards
Avesh Agarwal
|
|
|
|
|
I think that the path of one of assemblies that are using in your site is wrong.. For example: you are referencing the dll from C:\Program Files\AA\. but this path might not be available at your server.
|
|
|
|
|
Hi,
Michael Sync wrote: I think that the path of one of assemblies that are using in your site is wrong.. For example: you are referencing the dll from C:\Program Files\AA\. but this path might not be available at your server.
He is right.
So you can do one thing.
Just make one folder in your application and name it as "DllFiles" and put all Dll's in this folder and give reference from this folder only.
Its really a good idea to set Dll's.
Hope it will help you.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
you might have left some opening or closing brackets.Just check!!!!
This is the only reason you r getting this error
When you fail to plan, you are planning to fail.
|
|
|
|
|
I want to create subdomain progrmatically, but how?
what is difrence between real subdomain and virtual subdomain?
|
|
|
|
|
mohandesmehran wrote: I want to create subdomain progrmatically, but how?
You may read this thread.
http://forums.asp.net/t/874598.aspx[^] I haven't experienced with this but I think you probably need the dedicated server for that.
mohandesmehran wrote: what is difrence between real subdomain and virtual subdomain?
What do you mean by "Virtual Subdomain"?
|
|
|
|
|
virtual sub-domain means not a real subdomain which created by DNS configuration, i want use only like subdomain.domain.com which i think may be created by URL Rewriting.
|
|
|
|
|
hi friends
i have problem in use ajax:
i use below code on my webpage:
code=YUhSMGNEb3ZMMnh2WTJGc2FHOXpkQzl1WlhkelgzTmxjblpsY2k1b2RHMXM=&id=4">
and use utility of the site "newsletter"
but in the javascript file i have below code:
function add_user(name,mail,newsID,userID)
{
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Your browser does not support AJAX!");
return;
}
var url;
url="http://www.toolsfa.com/rssnews.aspx?type=add&name="+name+"&mail="+mail+"&newsID="+newsID+"&userID="+userID;
xmlHttp.onreadystatechange=stateChanged;
*** xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
now when i refresh my webpage when debuging come to specific line with 3 stars below error appear and do not perform any action:"Access Denied..."
why? and what am i doing to fix it?????
thank you
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
where is the above page exisit? is it in differnet URL?
Normally you can't call across the server because it's a security issue, your browser will not allow you to perform this operation.you can call only your project/url pages.
Manikandan.net
[Coding is life]
|
|
|
|
|
i need to get my username when i logged in using windows authentication not in forms authentication
send coding in C#
Dhilip.K.K.
|
|
|
|
|
You should be able to use either one of these:
System.Threading.Thread.CurrentPrincipal.Identity.Name
System.Web.HttpContext.Current.User.Identity.Name
|
|
|
|
|
Don't forget to disable the anonymous access..
|
|
|
|
|
I have flash button that is swf button , but i don't know how to write server side event when a user click on swf button .
thanks
|
|
|
|