|
when you want to pass the variable?Can you tell us the exact scenario?
Cheers!!
Brij
|
|
|
|
|
You need to use the attributes already in place for that!
<asp:hyperlinkfield datanavigateurlformatstring="~/YourPage.aspx?YourQS={0}" datanavigateurlfields="YourFieldForQS" text="The link!" xmlns:asp="#unknown" />
|
|
|
|
|
hi,
i want to know viewsrs count at a particular time who r viewing my site
i hav tried this using global.aspx but no use
plz help me
thanks in adv
|
|
|
|
|
ratnakar_ravi wrote: i hav tried this using global.aspx but no use
How did you tried with Global.aspx , can you please put the code of Session_Start() Method.
|
|
|
|
|
Take a application level variable.Increase the count by 1 on every session start and Decrease when session ends in Global.asax.
Cheers!!
Brij
|
|
|
|
|
and your session mode in global.asax must be set to InProc otherwise session_end event will not call.....
umerumerumer
|
|
|
|
|
ratnakar_ravi wrote: global.aspx
You can use Application variable to keep the current viewer count. Increase the count in Session_Start event and decrease it when the session ends. ASP.NET is multithreaded so application variables are not thread safe. Make sure you always use a lock around the operations. Something like
Application.Lock();
int currentViewerCount = int.Parse(Application["viewers"]);
Application["viewers"] = currentViewerCount + 1;
Application.UnLock();
|
|
|
|
|
I have one my website. I want to attach discussion forum to my website. I like this(Code Projects forum) discussion forum, I would like to develop discussion forum for my web site as like this forum. can anyone help me for that.
How can develop forum like this forum?
Which controls we can use for that?
How we can differentiate topic and reply?
Please let me know if anyone have an idea.
Thanks.
|
|
|
|
|
|
Database structure is ready for the forum. actually I have develop one discussion forum by using repeater contol in asp.net, but it’s not fulfill. that’s reason behind all this things.
|
|
|
|
|
Most of the cool stuff in this forum is done with javascript and was here when the site was asp. There's no ASP.NET controls you 'need', I'd still use a repeater, it gives you more control.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Abhijit Jana wrote: For,developing Forum in asp.net, You need a good knowleges of MasterPages, Menu, Sitemap Path, ADo.NET, XML
What absolute BS. Sorry, but that's a pile of crap. ADO.NET is the only thing on this list that you'd almost certainly end up using.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi there,
Can anyone tel me how to pass a row or a cell text of a grid view from asp.net code behind to javascript.
|
|
|
|
|
You can do one thing,
Read the value of datagrid row at serverside then register a javascript function which takes the value as a parameter.
Cheers!!
Brij
|
|
|
|
|
I want to hide every .aspx extension in my site.. can you help to me
|
|
|
|
|
nithydurai wrote: I want to hide every .aspx extension in my site.
You can map your own extensions to IIS and let ASP.NET process all those requests. In IIS6, you can't remove the extensions. If you are using IIS7, extension-less URL-rewriting is possible.
|
|
|
|
|
can you give example for rewrite method....
|
|
|
|
|
This[^] was my first hit when I searched.
|
|
|
|
|
How to display "HTML Table containing asp:Label server control (which is populating data from the database)" inside asp:Datagrid in VB.Net
|
|
|
|
|
Hi,
Iam trying to open a pdf using acrobat 9 sdk in a asp.net website.ie iam working in a webproject ,in which i need to open a pdf document,and if i a click on a particular postion in the document , i need to get the block coordinates of the particular postion(x,y,width,height).
so i came across this acrobat9 sdk ,but i dont have a clue how to work with this,kindly advice how to proceed,or is there any other way to view and annotate a pdf in my asp.net project.
regards
navin
|
|
|
|
|
Navinchandran wrote: so i came across this acrobat9 sdk ,but i dont have a clue how to work with this,kindly advice how to proceed,or is there any other way to view and annotate a pdf in my asp.net project.
You are using a wrong tool for this job. ASP.NET can't do this. PDF file is opened in the default PDF reader installed on the client machine. You can't always tell that PDF files will be opened only with acrobat reader.
|
|
|
|
|
oh! what i want is the person who open the site to view pdf online in the site. and he can click at particular word or postion to annotate.
so i need a viewer to display the pdf in my site and a possible way to calculate the postion of the click made.
if you know any way of doing this ,plz share it with me
|
|
|
|
|
Navinchandran wrote: oh! what i want is the person who open the site to view pdf online in the site. and he can click at particular word or postion to annotate.
I reiterate. There is no way to do this using ASP.NET. ASP.NET runs on server and user clicks on the PDF file from the client system. How are you expecting ASP.NET can handle this?
|
|
|
|
|
|
hope u can help me out, i am working over this for weeks ,and i cant find a solution ,my website is similar to http://a.nnotate.com/[^]
i would be thankful if u can help me out
|
|
|
|