|
The buttons are not able to get focus if we set tabindex on safari. While googling i
got few settings to be done in Safari browser. But this we can't tell the user to do.
So anyone please help me to do it through coding.
Thanks
|
|
|
|
|
i have upload a website which run fine but it upon show an error message which show that page cann't b displayed due to high trafic while there are only 3 user accessing the sites.
amirzada
|
|
|
|
|
I have some files listed on a listbox and want to upload them to the server. The values doesn't need to be selected. But I can't even get it working. Below is my source code:
Protected Sub uploadButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles uploadButton.Click
If (foundFilesList.Items.Count > 0) Then
Dim _fileUpload As New FileUpload()
For i As Integer = 0 To foundFilesList.Items.Count - 1
_fileUpload.SaveAs("~\InputFiles\" & foundFilesList.Items(i).ToString())
Next
messageLabel.Text = "The displayed files has been uploaded."
Else
messageLabel.Text = "No file path has been specified."
End If
End Sub
Where is the bug in the code above?
I appreciate you usual support.
Thanks.
|
|
|
|
|
The path "~\InputFiles\" & foundFilesList.Items(i).ToString()) would refer to the "application root\InputFiles" on the server. Why would you want to upload from the server to the server??
HTH!
|
|
|
|
|
Thanks Mani,
The path "~\InputFiles\" & foundFilesList.Items(i).ToString() is my server/application path where I want to save the files displayed on the listbox (foundFilesList ). Since the file names have been on the foundFilesList(listbox).
Do you understand what I am trying to do?
|
|
|
|
|
I'm afraid you cannot do it this way. The source file name is a readonly property on the file upload control and can be set only from the client. You cannot set it in server code and try and start the upload from the server.
Only the client browser has to initialize the upload.
|
|
|
|
|
Hi,
I have four textboxes in my web page. I want to apply required field validator such that atleast one of the text box value is required,it is mandatory to have value in any one of the four . how to validate that.
|
|
|
|
|
You can use requiredfiledvalidator property of textboxex.
Your name:
<asp:textbox runat="server" id="TextBox1">
<asp:requiredfieldvalidator runat="server" id="reqName" controltovalidate="TextBox1" errormessage="Please enter your name!">
<asp:button runat="server" id="btnSubmitForm" text="Ok">
Use the Textbox name as per ur project.
|
|
|
|
|
My requirement is that i need only one textbox out of four to be validated, it can be any textbox.
If i use required field validator for all textbox, it validates all four textboxes which is not my need.
It is sufficient to have value in any of these four
|
|
|
|
|
Take Foyr textbox on the page...
make one function "txtnull"
and copy the code...
------------------------------------------------------------------
protected void Button1_Click(object sender, EventArgs e)
{
txtnull();
if (n == 4)
{
Response.Write("alert('Atleast one')");
return;
}
}
int n = 0;
private void txtnull()
{
if (TextBox1.Text == "")
{
n++;
}
if (TextBox2.Text == "")
{
n++;
}
if (TextBox3.Text == "")
{
n++;
}
if (TextBox4.Text == "")
{
n++;
}
}
------------------------------------------------------------------
|
|
|
|
|
I think it is not possible for requiredfield validator to validate multiple controls.
Try with custom validator.
|
|
|
|
|
|
As sugested, use customvalidator and in the js function write your code to check your requirement.It can't be done through requiredfieldvalidator
Cheers!!
Brij
|
|
|
|
|
hi friends
<td style="background: url(http://localhost/images/main.jpg) no-repeat top left; width: 684px;>
In my html mail template,i have used above code for backround image,my problem is the backround image not display in gmail,yahoo,hotmail..etc
how can solve this?
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
saravanan05 wrote: td style="background: url(http://localhost/images/main.jpg)
The URL specified here would cause the browser to look for main.jpg on the client machine since localhost refers to 127.0.0.1 which is the self IP for all machines.
Change localhost to your Server.DomainName , if it is exposed over the internet or else host your images on a external host and refer it from there.
HTH!
|
|
|
|
|
hi thanks for reply
Already i tried in live server what you have mentioned(http://192.158.74.120/images/main.jpg)..but it is also not working...
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
Are you able to view the images from outside your home/work network? Did you check if Gmail is not just preventing the image display??
|
|
|
|
|
yes,i can see from outside home
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
In that case I think it is just Gmail blocking the images. You should have an option near the email header that says "Display Images", click it to get your images.
|
|
|
|
|
Hi,
I am having two files with extenstion of .rar, how to restore these backup’s of databases in sqlserver 2000.
Explain what steps i need to follow to restore it.
Thanks in Advance.
|
|
|
|
|
.rar is a compressed file format - kind of like a zip file.
You will probably find there are database backup files (or detached database files) inside the .rar files.
|
|
|
|
|
Extract files from rar then open sqlserver 2000 create a database
Right click on created data base,Tasks restore database from device, browse to that back up file you need to overwrite the database thats it your database is restored.
|
|
|
|
|
Only files with extension .rar can be restored in sql server 2000.
You should decompress these files firstly,and then restore them.
modified 27-May-14 4:55am.
|
|
|
|
|
I'm new to ASP.net (mildly experienced with Visual Studio -C#,Visual Basic) and am trying to simply publish my web app to ftp://ftp.tripod.com...here's a snapshot of my Output screen:
Connecting to ftp://ftp.tripod.com/...
Publishing folder /...
Publishing folder App_Data...
Unable to add folder 'My Project' to the Web site
. Cannot create folder "My Project".
Publishing folder bin...
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
Thanks for everyone's time.
--Kyle
|
|
|
|
|
kdgab26 wrote: . Cannot create folder "My Project".
You need to look for more detailed error messages. Cannot create folder is too generic.
Best wishes,
Navaneeth
|
|
|
|