Replies |
Can you give the code??
____________
www.flickr.com/photos/psdesigner/
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
What type of button is it and what property you are using to open another page??/ simple anchor tag or response.redirect code...
please let me know the actual code...
____________
www.flickr.com/photos/psdesigner/
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Sekar.C
Posted on: 7/13/2012 8:10:21 AM
|
Level: Starter | Status: [Member] | Points: 25
|
Hi,
Send your code lines
Regards
Sekar.c
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Ranjeet_8
Posted on: 7/13/2012 8:53:02 AM
|
Level: Gold | Status: [Member] | Points: 25
|
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
.Netlearner
Posted on: 7/13/2012 9:04:45 AM
|
Level: Starter | Status: [Member] | Points: 25
|
Share your code and make the question more clear
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Abhisekjani
Posted on: 7/17/2012 8:51:07 AM
|
Level: Starter | Status: [Member] | Points: 25
|
protected void btnSubmit_Click(object sender, EventArgs e)
{
Name = txtName.Text;
Price = txtPrice.Text;
Vendor = txtVendor.Text;
Frequency = txtFreqForReq.Text;
Qty = txtQty.Text;
Description = txtDescription.Text;
Currency = txtCurrency.Text;
FilePath = "";
if (File.HasFile)
{
string image_1 = Path.GetFileName(File.FileName);
if (image_1 == "")
{
FilePath = "";
}
else
{
//Path for Live...Start
File.SaveAs(@"\\10.201.64.139\Files\NewItemRequest\" + image_1);
FilePath = @"\\10.201.64.139\Files\NewItemRequest\" + image_1;
//Path for Live...End
}
}
txtName.Text = "";
txtDescription.Text = "";
txtPrice.Text = "";
txtVendor.Text = "";
txtFreqForReq.Text = "";
txtQty.Text = "";
txtDescription.Text = "";
txtCurrency.Text = "";
}
here is the code some time its works in first click and some time its works in two three click
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Abhisekjani
Posted on: 7/17/2012 8:52:49 AM
|
Level: Starter | Status: [Member] | Points: 25
|
This code is working fine in development server , but its creating problem in live server
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Hi
I think the problem is in your path.you should give Virtual Path to the file
Regards
R D Patel
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Abhisekjani
Posted on: 7/18/2012 2:11:08 AM
|
Level: Starter | Status: [Member] | Points: 25
|
The same code working fine in development server but in live server it creating some problem like some time in single click it works but some time in double click it works. In live server some url(pages) also in single click taking time to open but once we click more than one time its open.........
Abhisekjani, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|