|
Thanks again I did that but I still get the same error message.
|
|
|
|
|
Close Browser. Restart IIS , then Open a new browser Try it again . It should work !!
|
|
|
|
|
Dear sir,
I know how to set the src of a iframe, for example, I can use
Dim frame1 As HtmlControl = Page.FindControl("itest")
frame1.Attributes("src") = Me.TextBox1.Text.Trim
However how can I get the current src of a iframe after user clicking
several times on the iframe??? when I try to get the value of frame1.
Attributes("src"), what I get is the original src I set to it.
How can I do this?
regards,
|
|
|
|
|
Hi,
I want to run a function on a text changed event of a text box which is generated dynamically in a place holder.
|
|
|
|
|
You can fire onkeypress event of testbox in javascript.
|
|
|
|
|
can you please send me the java script code
|
|
|
|
|
Have you considered buying a book and learning some of these basics for yourself ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Hi, i have written code to upload a csv file and process it and allow the users to download it. Only the login users can download this file. once the processing of file is completed, when user click to download link or any other link in the file the session is loss. why it happening like that.
Is the following code can ends the session??
private void MergeCSVFiles()
{
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(@"C:\CSV Files\CSVMerge.bat");
psi.RedirectStandardOutput = true;
psi.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
psi.UseShellExecute = false;
System.Diagnostics.Process listFiles;
listFiles = System.Diagnostics.Process.Start(psi);
System.IO.StreamReader myOutput = listFiles.StandardOutput;
listFiles.WaitForExit(2000);
}
G. Satish
|
|
|
|
|
What is the session Timeout Value? and Session State Mode ?
|
|
|
|
|
I am generating a radiobuttonlist and adding them in a placeholder control. Following is the code:
DataSet dsUserTypes = new DataSet();
int CompanyId = Convert.ToInt32(ProjectList.SelectedValue);
dsUserTypes = u.GetUserTypesforProjects(CompanyId);
RadioButtonList UserTypes = new RadioButtonList();
UserTypes.ID = "UserTypesList";
for (int j = 0; j <= dsUserTypes.Tables[0].Rows.Count - 1; j++)
{
UserTypeName = dsUserTypes.Tables[0].Rows[j]["SecurityGroupName"].ToString().Trim();
UserTypes.Items.Add(UserTypeName);
UserTypeName = "";
}
RadioButtonPlaceHolder.Controls.Add(UserTypes);
Following is the placeholder control in htmld code:
<td>
<asp:PlaceHolder ID="RadioButtonPlaceHolder" runat="server"></asp:PlaceHolder>
</td>
The user types will vary from 4 to 5. How should I come to know that which radio button is checked by the user? Can anybody please help on this? Thanks in advance.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
i have to fire button click through javascript
i have folowing code
function IfExists2(msg)
{
var agree=confirm(msg);
if (agree==true)
document.getElementById('ctl00_ContentPlaceHolder1_LinkButton1').OnClick();
}
it runs in Internet explorer but not in firefox..
ERROR MESSAGE :
Exception: TypeError: document.getElementById("ctl00_ContentPlaceHolder1_LinkButton1").OnClick is not a function
help
|
|
|
|
|
Sumit Lamba wrote: document.getElementById('ctl00_ContentPlaceHolder1_LinkButton1').OnClick()
Try using
document.getElementById('ctl00_ContentPlaceHolder1_LinkButton1').Click();
|
|
|
|
|
i tried it but the error remains same
|
|
|
|
|
have you checked the id of control.
|
|
|
|
|
ya i have checked its working fine in explorer
|
|
|
|
|
I'm having problem publishing a web site on a remote server within a LAN. When I choose remote site and then click on new web site, in the popped window, I type http:\\ICT-RC-05\site(remote computer's name\site's name), when I click OK, I get an authentication required window popped out. Which asks for user name and password for the remote computer and it doesn't let me pass through with any pair of user name and passwords my remote computer's name is ICT-RC-05 and has no password. what should I do?
|
|
|
|
|
I experienced something similar,
To skip this problem create a setup project and run it from the server you want to deploy to
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|
|
Hi everybody,
I am unable to get the index of the row which is selected by the user through checking a checkbox.
After getting the index I want to delete the row directly from the datagrid on that particular index.
Please help me out.Its urgent...
cheers,
sneha
|
|
|
|
|
I want to retrieve text of link button. I am using following code but it is not working.
var LblCountry =document.getElementById('" + lnktext.ClientID + "');
var ltext= LblCountry .value;
when print this value using alertbox it shows as undefined
Can anybody tell me how to retrieve link button value.
Thanks
|
|
|
|
|
enclose lnktext.ClientID into server tags..
<![CDATA[<% >
Abhishek Sur
%>]]>
|
|
|
|
|
Thanks for reply,
But I am writing above code in seperate cs file.
|
|
|
|
|
Hello,
Using view source option of browser, Check that ClientID you are passing as argument and actual id are same.
Kiran Banker
|
|
|
|
|
Thanks for reply,
I Checked Id's both are same.
|
|
|
|
|
Try this
document.getElementById('lnktext').value;
Kiran Banker
|
|
|
|