and if user clicks on ok then i have to redirect to another page
that is happening if on cancel then i have to focus him on a text
control. I will try for that. once again very thanks for your help
It is unnecessary to register the confirm script since you have already included it in the page.
<input type="button"value="Click Me" onClick="Confirm()"></input>
if (confirm("Are you sure you want to delete?"))
How do I go about my (asp.net) web application deployment?
Is it possible to package it as .exe file that will now be installed on any machine? If yes how.
How can I get Ms SQL client software so that the application can run on it.
How can I make sure that the first-time the (web) application is run, it runs my database script to create the application's database and other objects on the installation machine. Or to run the script while the application is installing.
Any other vital things for me to know about deployment. Please tell me.
1)Yes it is Possible. go to your Solution Explorer and Right click on the Root of your Solution and select a New Project and in the Dialog box , select other Project and you will see websetup. Give it a name and when you create a setup meaning when you are happy with your web app , then you need to build your setup to release not debug and a file in the Release folder in your setup Project Directory will be created. that is what you should ship.
2)Do you mean SQLExpress? google it you will find a lot of hits on that.
In my gridview, I want to count the number of times each value (based of course on a field in my gridview) occurs. For example, if I have a field called Dept, in my result there is the following:
What I am trying to do is to show that for each Dept A, the count is 3, and for Dept B, the count is 2 and for Dept C the count is 1. When I have my count, I want to save them into my hidden field, which I am going to use else where in my code.
I know I need to do this in my rowdatabound event, and I have had ago, but the results I am getting back are not correct.
GridViewRow row = new GridViewRow(-1, -1, DataControlRowType.DataRow, DataControlRowState.Normal);
rowValue.ID = "hdnNumRows";
rowValue.Value = counter;
lbl2.Text = Convert.ToString(counter);
cell.ColumnSpan = this.GridView1.Columns.Count;
cell.Width = Unit.Percentage(100);
cell.BackColor = System.Drawing.Color.Aqua;
HtmlGenericControl span = new HtmlGenericControl("span");
span.InnerHtml = prevStr;
tbl.Rows.AddAt(tbl.Rows.Count - 1, row);
I have list box where i written code on selectedindexchanged event in code behind. I also want to run java script on the same event or click event so that my code behind code also run with respected to java script.
I have aspx page in which there is one link. When user clicks on the link it should open a (Silver Light or normal) model dialogue box or popup with few checkbox options. As soon as user selects them and clicks the button. The information should be saved.
Can I use WPF or Silver Light model dialogue box in aspx page. Please help me in this regard. Atleast by some links. In this mean time I will try from my side with google uncle (nice uncle for any help) .
Thanks & Regards,
Md. Abdul Aleem
Last Visit: 31-Dec-99 19:00 Last Update: 29-Nov-23 16:11