|
Gosh, do you believe that you answered my questions ? Where in your code do you check it, and does your code ever set an initial value anywhere ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Sorry! the TextBox is not knly.
I create it an some other controls (I don't know how many, it depends to user request) are created dynamically in code and add to a table control. by clicking the button I iterate throw rows in table, but the the table is without row, but before click it had.
2 userControls, first one is in second one and there is a button in second one, and the second one is in a web page.
Thank you for your attention
Best wishes
|
|
|
|
|
Hi, recently I've been updating my website on my computer and then I copy the pages that I've updated and place them on the server but then I'll have to request these pages from the browser the first time coz it would be slow the first time coz they are not precompiled.
So, I was thinking of precompiling these pages only and not the whole website.
I don't want to precompile the whole website coz the web.config file and the app_data folders on my computer are different from those on the server. So, how exactly can I do that?
modified on Wednesday, January 21, 2009 6:39 AM
|
|
|
|
|
you can't do it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Why did you ask if you didn't want the answer ?
What you're asking is dumb anyhow - so it's a bit slow the first time, because it's compiling. You want to do extra work to spend the time compiling locally in order to save the same time on the server ? Just get over it - the first page request takes a few moments. So what ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks anyway..but my question isn't dumb.
If it's dumb you shouldn't have bothered answering it!
|
|
|
|
|
No this is a dumb question.
Good luck with that. Why the hell would you want to compile part of website?
I didn't get any requirements for the signature
|
|
|
|
|
when i go to http://localhost I get an authentication required page popped up. What username and password should I use? My Windows account or what?
Please help
|
|
|
|
|
serima nazarian wrote: when i go to http://localhost I get an authentication required page popped up. What username and password should I use? My Windows account or what?
This is comming because of Windows Authentication mode selected on your Virtual Directory.
serima nazarian wrote: hat username and password should I use? My Windows account or what?
Yes
If you want to stop it you can set Anonumous Access for that folder or can configure IE for automatic login with your current credentials.
Please let me know if you need more information on that .
|
|
|
|
|
Thanks for your help, but I have no clue about how I should do what you have suggested!
|
|
|
|
|
Start > Run > Inetmgr [ It will open IIS ]
>Right Click on Default Sites / Virtual Directory
>Properties
>Goto Directory Security Tab
>Click On Edit
---------------
Now check What I have already suggested
|
|
|
|
|
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();
|
|
|
|