For moment i don't have any idea. Could you please write more code here to see how can we fix that :wtf:
darkcalin
Posts
-
Why this ont rendering the Control properly -
Why this ont rendering the Control properlyTry this: :doh: HyperLink hlink = new HyperLink(); System.IO.StringWriter sw = new System.IO.StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); hlink.ID = "ZoneLink"; hlink.Text = "TestButton"; hlink.NavigateUrl = "Default2.aspx"; hlink.RenderControl(htw); Response.Write(sw.ToString());
-
Why this ont rendering the Control properlyOk then try this: LinkButton hlink = new LinkButton(); hlink.ID = "ZoneLink"; hlink.Text = "TestButton"; hlink.PostBackUrl = "Default2.aspx"; form1.Controls.Add(hlink);
-
Why this ont rendering the Control properlyUse this code (is in c#): Literal lit = new Literal(); lit.Text = @"<a href=""Default2.aspx"">TestButton</a>"; lit.RenderControl(htw); Response.Write(sw.ToString());
-
opening window - acrobat file with disabled maximize buttonTry: maximize=yes or resizeable=1
-
I have been trying to generate some reports to PDF file format from ASP. NET2.0 application (using itextsharp.dll)Try to use BinaryReader.
-
autorefeshFor page auto refresh use this: 120 represents 120s (2 minutes) and index.php represents the page you wish to refresh!
-
validatore controll space show problemyou can try to make a JavaScript function for validation. For extra protection you can make one other validation test on server side.
-
How to stop Page being cachedTry this in page header:
-
Conersion to DateTime Data type from Stringtry to use DateTime.Parse(...);
-
of pesrSessionsone method is to use the session Session.Add("username",myuser); darkhero
-
Files/Copy%20of%20name516.xls getting this error when opening excel file from the gridview.try to use HttpUtility.HtmlEncode(path); HttpUtility.HtmlDecode(path); ... if no result please write few line of code
-
Session problemtry this: on login page: protected void Page_Load(object sender, EventArgs e) { ......... //if the user is valid Session.Add("user", user); ....... } on other page protected void Page_Load(object sender, EventArgs e) { ....... if (Session["user"]==null) Response.Redirect("login.aspx"); ........ } on logout Session.Remove("user"); I hope that will help you.
-
tx text controlI want my project to work but installing the tx textcontrol is not a solution for my problem. I want to use only the .dll to make my program to work. I don't want to install the tx textcontrol.
-
Update database.try to use sql interogation i am not sure but i think you update only one dataset not the dataBase :doh:
-
Saving from one txt file into another one problem?post the code if you want some help
-
format problemThis is what i want!!!! Tks
-
reading data from dataset to xml:laugh:
-
reading data from dataset to xmlDataSet dset = new DataSet(); dset.WriteXml(path,null); //this is the better idea
-
format problemHi, i have one number and i want to transform in one string but with one fixed format: EX: if i have int x=10; int y=999; my string must be string sForX="0010"; string sForY="0999"; (i want to do that without to format the string manual (with for, while or.....) )