|
Dear Hassan
U add your js extension in IIS.
|
|
|
|
|
Thank you, Sorry dear didnt get u
Hassan Akhtar
|
|
|
|
|
hi all
I have created a web asp.net application using framework 3.5(VS 2008)..
In My web page i have a gridview and a textbox and one button...
GridView is populated from the page load...
now i will enter a text or a part of text to the textbox and i press the button the cursor should go to that particular word where it is in the gridview...
nt only that,again i press the same button the cursor should go to the next same text if it is there in the gridview...same like it should keep on go to everywhere in the grid...
same like the QuickFind method in the edit menu...
ex:
in gridview there is a text as "Value"
if i enter "Value" in the textbox it sould go and if enter any part of this text also the cursor shoul go to that particular part....
how can i do this?...
thanks in advance...
|
|
|
|
|
please anybody help me to solve this problem....
|
|
|
|
|
download problem from Secure Sockets Layer enabled site(https)
I got error message this
"
internet explorer was not able to open this internet site.this requested site is either unavailable or cannot be found .please try later"
i ca't download file
i am using following code
to download the file
string outputFile = "test 1";
Response.Clear();
Response.Buffer= true;
Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("Content-Disposition", "inline; filename=test.xls" );
Response.AddHeader("Pragma", "public");
Response.AddHeader("Cache-Control", "max-age=0");
Response.Charset = "";
EnableViewState = false;
Response.Write(outputFile);
Response.End();
it's working normal http site,
in https site it's not working ,means i deployed as Secure Sockets Layer enabled site, error happen
mohamad rafi
|
|
|
|
|
Hey guys,
Is it possible to get the number of current connections to a website using .net?
If so, what's the assembly I need for it, I haven't managed to find anything through google yet, but I may be using all the wrong terms...
Thanks in advance.
Mark
|
|
|
|
|
AFAIK you have to keep track of this yourself using the Session_Start and Session_End event handlers in global.asax - somethign along these lines[^]
|
|
|
|
|
Excellent,
Thats exactly what I'd just decided to do.
Thanks for the reply, at least I know I'm on the right track...
|
|
|
|
|
How to select a cell in a gridview without using the autogenerate select button property.What I need to do is to show a particular field (column)in hyperlink.On clicking that hyperlink I need to perform some action..PLease help...how to do it???
|
|
|
|
|
I am not sure about your problem. But if you just want to show the hyperlink in gridview then you can use itemtemplete and place the control there.
But if you want to perform some action on click of the hypelink then better you can use link button control. If you just want the user to redirect to another page then hypelink will suffice the need.
Apurva Kaushal
|
|
|
|
|
|
on page refresh the button onclick event is getting fired.
i tried doing blur() in javascript but in vain. please help me out.
|
|
|
|
|
Your question is not clear. Please explain it in detail if you are expecting help.
|
|
|
|
|
After clicking save button i am inserting data in database.and also clearing the textboxes.now if the user clicks f5 then the page loads again and the click event of the button is fired and again same value gets into the database.
|
|
|
|
|
Well, this is because browser keeps the post data in cache. But when you press refresh, browser is asking for a confirmation, right?
To overcome this issue, you can redirect to a separate page which shows some message like "Value inserted successfully". Since the page is moved, browser will clear the post data from it's cache.
Following pseudo code will explain what I meant
void button_click(object sender,EventArgs args)
{
Response.Redirect("success.aspx");
}
|
|
|
|
|
In fact if it will be redirected to the same page then also the purpose will be served.
Apurva Kaushal
|
|
|
|
|
Indeed.
|
|
|
|
|
i dont want to do that since i have to display the id from database onto the page.
|
|
|
|
|
The id can be passed via query string to the new page. Cross page post back can also be used.
|
|
|
|
|
If you refresh a page that is a result of a postback, the same data will be posted again. That means that the same events fire again.
You can either keep from using postbacks, handle the situation when the event fires again, or don't reload the page to update it.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,
I am using ajax dynamic populator to populate data by calling service method from
javascript .I am getting webservice call failed:500 message.can i add any retry method in
javascript to call the service 3 times if you are not getting any response or this call
failed exception and a custom message 'please try again' if there is an web service
exception.thanks in advance and waiting for the answer and thanks once again.
-Mahesh chandra
|
|
|
|
|
umaheshchandra wrote: .I am getting webservice call failed:500 message.can i add any retry method in
javascript to call the service 3 times
Catch this exception and call the requesting function again. Set a counter variable and increment it for each try.
|
|
|
|
|
Thanks.But the webservice call failed exception is not catchable in javascript.that was the problem.do post if you know anyother options.
|
|
|
|
|
Hi all,
I have a datagrid with Song title's and i have a checkbox in each row ,which all are the checkboxes checked by the user he/she want to add those songs to the realplayer playing list and start playing the first song
How can i achevie the same...
Now i have done the same with single selection
Thank You
|
|
|
|
|
reogeo2008 wrote: Now i have done the same with single selection
You want to handle multiple records checked in the checkboxes, if so then what you can do is to iterate through the datagrid items and find the checkbox which are checked and then take the actions what you want.
Apurva Kaushal
|
|
|
|