|
Hi .netman
ya eg:
actually i am using data cashing of a Dataview object that i showing through Gridview
i wanna for every post back data showing in grid view in random order
|
|
|
|
|
Hello,
I have an applicaion which has the below configuration
<sessionstate mode="InProc" timeout="240">
The timeout is in minutes and it is equivalent to 4 hrs. The issue is if I keep the application ideal for approx 2 hrs. The application gets timeout or session expires. But when I've set the timeout for 4 hrs so ideally the application should be available till 3 hrs 59 mins (when it is ideal). But it timesout much before 4 hrs (approx 1.5 hrs).
How can i handle the situation. I want the sessions not to expire till 4 hrs.
Regards,
Pavas
Regards,
Pavas
|
|
|
|
|
where did you set the session time out configuration ? and why that much ammount of time for session expires?
cheers,
Abhijit
|
|
|
|
|
We have a requirement for session to expire not less then 4 hrs. The session element in the web.config has timeout property.
Regards,
Pavas
|
|
|
|
|
do you have any login features in your application ?
cheers,
Abhijit
|
|
|
|
|
No there is no login feature..we set session on the page.
Regards,
Pavas
|
|
|
|
|
Hi all,
How do Implement the Chart Control in an Web Application using ASP.NET 2.0 with C#?
Could you please give me an example?
With Thanks & Regards
|
|
|
|
|
There are lots of third party controls out there which can be used with asp.net applications. A quick google search will show you a few.
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
ZedGraph[^] is an open source chart control for asp.net, there are examples on the site.
|
|
|
|
|
Hi All
I am uploading the image using asp code on server
it working well
but i also want to reduce the size of image too
e.g. a 100MB image to 50 MB image
have any idea
Amit Battan Ror
battan20@gmail.com
|
|
|
|
|
Check this out:
Image Resizing
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
am using asp not asp.net
Amit Battan Ror
battan20@gmail.com
|
|
|
|
|
Lets say I have several web sites on my web server, all as applications under one domain. How could I register other domains to point to the same web server, and redirect requests to, e.g. a web site linked to the requesting domain?
I know I'll have to have a root site, and I'm guessing I may have have to do some voodoo in the request pipline on this root site, and dispatch a changed request to the relevant sub-site.
Example, I would like acme.net and ajax.net to both point to the same address as root.net. When a browser requests acme.net, the content at acme.root.net or root.net/acme, should be served, but the user must still see acme.net in their address bar
Q: What is the difference between a pigeon and a merchant banker?
A: A pigeon can still put a deposit on a Ferrari.
|
|
|
|
|
You are talking about URL redirection. Most of the domain providers support this. Check with them.
|
|
|
|
|
Hi,
Is there a way, to get HTML codage in a String object from a Web.UI.Control ?
For exemple, I buil a simply Table :
Table maTable = new Table();
and I want to get the HTML Code :
String tableHTML = maTable.???
PS : I'm french, so sorry for my english
|
|
|
|
|
you can use rendercontrol method provided for each control
try following code
Table ctrl = new Table()
StringBuilder sb = new StringBuilder();
StringWriter swrt = new StringWriter(sb);
HtmlTextWriter ht = new HtmlTextWriter(swrt);
ctrl.RenderControl(ht);
TextWriter txt = ht.InnerWriter;
String strHTML = txt.ToString();
Thanks & Regards
Pete
|
|
|
|
|
i m using both html and aspx pages in my project...
for searching a particular product i m using search option in all pages...its working f9 but when i pass the text from html page through get method..it not taking the minus sign(taking in aspx page)
http://www.esccctv.com/[^]
when i m passing CCP – 2415 (ESC) product no. from aspx page.. it found a search but not thru html page... someone help please
modified on Wednesday, November 26, 2008 4:26 AM
|
|
|
|
|
This probably an encoding[^]issue, replace the minus with "%2d"
|
|
|
|
|
Try using
Server.UrlEncode()
OR
HttpUtility.UrlEncode()
for the query string value
this will encode the value
Thanks & Regards
Pete
|
|
|
|
|
Prasanna Kumar Pete wrote: Try using
Server.UrlEncode()
OR
HttpUtility.UrlEncode()
thanks but please give a proper syntax how to use Server.UrlEncode() or HttpUtility.UrlEncode()
|
|
|
|
|
string strEncoded = HttpUtility.UrlEncode("CCP – 2415 (ESC)");
Thanks & Regards
Pete
|
|
|
|
|
but how can i use that(
Prasanna Kumar Pete wrote: string strEncoded = HttpUtility.UrlEncode("CCP – 2415 (ESC)");
) in html pages.... please tell me
modified on Wednesday, November 26, 2008 4:34 AM
|
|
|
|
|
for html pages you might need to use
encodeURIComponent() available in javascript
Thanks & Regards
Pete
|
|
|
|
|
I am new to NUnitASP. I learend NUnitASP from the website.
When i used NUnitASP in my sample application, when i run the nunit am getting the message Reason- Has no Testfixtures ,
when i am creating the class,which is inherited from the NunitAdapter.cs its not getting inheritedin my sample application class.
I went through some website, and knew that, i have to copy the
NunitAdapter.cs file into my sample application.
So, i copied that file, again i am getting the same error.
Anybody, could you give me the solution for this.
Any links for using NUNitASP with Vb.net, becuase lot of examples
available in C# only.
Thanks in advance.
Regards,
sowmya
|
|
|
|
|
sowmya k wrote: I am new to NUnitASP
Don't use that one. Split the logic that has to be tested to separate assemblies and use NUnit or any other testing framework to do the test. AFAIK, NUnitASP is not worth for using.
|
|
|
|