|
But it is working fine; the only thing is that it is sending response to server machine. Ok, please tell me how to code confirm of javascript in this case when a user is clicking on delete link of GridView1 control.
Thanks and Regards
Girish Sharma
|
|
|
|
|
Girish481 wrote: But it is working fine;
You are running your application from VS IDE. Try to host on IIS, access from browser and from different system
As amandeep already suggested, you have to use JavaScript Confirm Box.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Thanks Abhijit for your response. Actually before this i was running my web application on server itself; but yesterday when i run from another machine; i got that messagebox's response was not at client side; it was as server machine, so i supposed that there should be extra code for messagebox or javascript confirm box. So please tell me, where and what should i code to get confirm box when user click on delete link of GridView1 control.
Regards
Girish Sharma
|
|
|
|
|
Try to use This[^]
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Thank you Abhijit for your link. I learnt from the link and finally got the result as below from TemplateField.
<br />
<asp:TemplateField ShowHeader="False"><br />
<ItemTemplate><br />
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"<br />
OnClientClick="return window.confirm('Are you sure ?')"<br />
Text="Delete"></asp:LinkButton><br />
</ItemTemplate><br />
</asp:TemplateField><br />
Regards
Girish Sharma
|
|
|
|
|
Hi all,
I am working in ASP.NET using Visual Studio 2008
Can anyone tell me,
How to deploy the master pages that i have created using ASP.NET into my real device(Pocket PC)?
Thanks.
|
|
|
|
|
Hi, all.
I know there is list view control for using at window form in C#.
in order to use it, I can add easily list view control in C#.
and there are drag and drop, drag enter, drag over and drag leave events in property of list view control.
But!! I can't use that in webform, asp.net.
maybe..is there any control like list view control usable in asp.net??
Thank you.
|
|
|
|
|
well, drag and drop facility is browser specific. so there is no such event which will trigger in the server if browser drag takes place.
Its true browser DOM has limited functionalities than Windows forms....
You have to use normal Dropdownlist only, or create a custom control that suits your need.
|
|
|
|
|
Hi, Iam usin a datagrid in my form. I have to display the photos from the database. I acheive it.
But I want to display the photos Row wise. Like 5 photos in first row and 5 in second like wise.What to do for it? Can anyone suggest idea?
|
|
|
|
|
You can do it with gridiew
but better use a datalist[^] in this case.
|
|
|
|
|
i have got the data from excel to gridview..now want to get the data from gridview to database..whats the way..
scarface
|
|
|
|
|
was it going to inconvinience you if you took the data from Excel to the SQL Database and from there to the Gridview?
a Gridview is not a Database nor Storage utility. So you need to store your data in the database first and display your data in the gridview
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Hi All,
I've a page as shown below
------------------------------
-------HEADER
------------------------------
---MENU---IFRAME
When I click on menu the iframe part loads with new page in the iframe.
Now the problem is, there is one Ajax Modalpopup extender in the iframe page.
when I show the modalpopup It shows only within the Iframe.
How can I bring the modalpopup window out side the iframe(I want to cover the modalpopup in the entire window.).
I'm stuck with this in last 3 days...
Thanks in advance...
|
|
|
|
|
Actually IFrame loads the entire page within a page, I think if you load the same inside a div or normal dom object except frames, the problem will be solved.
Otherwise, you can use modalpopup extender in the outer page.
|
|
|
|
|
Abhishek Sur wrote: if you load the same inside a div
How do I load a aspx page inside a div(without iframe)?
or is there any other alternatives for iframe.
|
|
|
|
|
Just paste the response that comes from the ajax request to a DIV..
like
div.innerHTML = ajaxobj.responseText;
|
|
|
|
|
Hi,
Double byte character in email address what does it mean?
Thanks in advance
|
|
|
|
|
In a double-byte character set, a character that is represented by 2 bytes and typically has a half-width variant in contrast to ASCII which is 1 byte character set.
|
|
|
|
|
Is there is any command to open the Visual studio software from Run command like mspaint for opening Paint?
|
|
|
|
|
|
hi all
i have two different report of same data i.e pie report and bar report. i have added a dropdown to my .aspx page and added these report into it. and set its autopostback porperty true. now
when user generate report by daulft pie report is shown. now i want when user select bar report from dropdown i will change the report
code:
reportviewer1.localreport.reportpath="bar report path"
reportviewer1.localreport.refresh()
note: data source is same
but report not changed. where i m wrong or what i m missing..??
thanks in advance
Er. Jagwinder Singh
|
|
|
|
|
you can pass selected report type by query string on button click and on second page you can show that report which will work accurate
in current situation you must be missing some thing or you have not explained your problem properly...
Government Dyal Singh College Lahore.
|
|
|
|
|
but i have one .aspx page
i want to change the report but my report viewer is same
Er. Jagwinder Singh
|
|
|
|
|
try to debug the application and check report type is changing or not?????
if it is showing first report all the time that means on post back clear selection is taking place....
Government Dyal Singh College Lahore.
|
|
|
|
|
Hello Friends,
I have a doubt. I have developed a web application.
I have 3 servers to handle the requests for web page, IIS server, Apache server and a database server.
My question is, how can i know which server is handling my request or will handle my request for a particular web page?
Thanks and Regards,
Nagendra.
|
|
|
|