- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
35 Posted Topics
Please post the code inside entire page load event.Will help to analyze better
Oh, Like writer's block, this is programmer's block?
you are using ASP.NET AJAX UpdatePanel in your aspx page. Then Page.ClientScript.RegisterStartupScript will not work. We have to use ScriptManager.RegisterStartupScript.
I dont have much idea about "iTEXTSHARP library".But i can suggest one more mwthod so that you get more options to choose. Step 1:convert data set to xml We can use DataSet.GetXml() method for that. Convert that to string(like DataSet.GetXml() .toString()) step2: Write an xslt script to convert the above …
You can add a java script event handler for onclick like: [CODE] Label1.Attributes.Add("onclick", "Label1_Click()");/*on pageload,code behind*/ [/CODE] and write javascript like [CODE] <script type="text/javascript"> function Label1_Click() { alert("clicked"); } </script> [/CODE] I dont know wether there is a way to add a conventional event handler for OnClick for Label.We shall …
You can use image class and GetThumbnailImage() method to resize the image.
I think we cannot add a checkbox to a datagrid on code behind.But if you are good at javascript we can find a way to do that. [CODE] function AddColumn() { var tab =document.getElementById('GridView1');//Your DataGrid Id var rows =tab.getElementsByTagName("tr"); for(var i=0;i<rows.length;i++) { var currentrow= rows[i]; var newcell=currentrow.insertCell(-1); newcell.innerHTML="<input type='checkbox' />"; …
Still its not very clear why you want to change the database.By authentication,you just want to validate the user name and password? Or you want include something more? Below link may give you some insight.. [url]http://msdn.microsoft.com/en-us/library/ms998347.aspx[/url]
I want a file uploader,that doesnt cause post back in asp.net 2.0. With some googleing i found that if i set traget of the form to an iframe on the same page,i can avoid post back.But when i try this the page is getting opened in new window.(ie7 is the …
You can use calender.VisibleDate and calender.SelectedDate ,to do that.Set the value of VisibleDate/SelectedDate to the value in the dropdown.Like... [CODE] Calendar1.VisibleDate= DateTime.Parse(date);//where date is a string [/CODE]
You can use xslt for that.In asp.net we have System.Xml.Xsl namespace for supporting classes and methods for xslt.XslCompiledTransform class has Load and Transform methods which will be useful.
The below code should solve the problem... [CODE] <td onmouseover="style.backgroundColor='blue'" onmouseout="style.backgroundColor=''" style="cursor:pointer;"> hi </td> [/CODE]
Just ignore.I replied with out seeing the above reply
You can get data back using a select statement,store it in dataset, set datasource of grid view as the dataset,then use databind.
i am using vs 2005.can i have rich text box for a web form? i am not finding it in tool box.if rich text box is not possible ,how can i have text box with rich text features in a web form?
use a while loop to get values.Then use an array list to store those values.use another loop to get the sum.your problem will be solved.
Here is the code:- please mark the tread as solved if you finds this useful [code]using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void …
its vague.make it clear,what exactly u want?
Read the first chapter of this book "bluetooth essentials for programmers".It will give a nice overall idea,including bluetooth protocol stack.device discovery algorithm etc.The book is from cambridge University.Download it for free. [url]http://www.cambridge.org/catalogue/catalogue.asp?isbn=9780521703758[/url] tell if you need more help Dhanesh
hey p.setArea is not called.then how will area be calculated?(in main) Besides,if you are calculating area from radius,why should pass a parameter area to setarea in circleshape?
This is my code: package hello; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; /** * @author User */ public class TBexample extends MIDlet { Display display; public static String txt; TextBox sample; public TBexample() { txt = "enter your text here"; } public void startApp() { // String localtext ="hi"; display = Display.getDisplay(this); …
Did you try setting the text box font to the font you want?
Set gridview.Datasource to your dataset
you just have to modify else part a little 1.assign the result of recursive call to your list(l) 2.u r using the for loop to find smallest number in the list right?so put the above assignment out of the loop. 3.swap the smallest element with the first element of the …
@"can you tell me how i get the number of row about findRow". sorry,i am not able to make out what exactly you mean. Can you explain a bit?
same with me too.Got local host only.
Can you explain a bit? because User.Identity.IsAuthenticated has default value as true.
i dont think You can login automatically to your yahoo account compose a mail and send using an asp.net application. But you can set the from field of mail object to what ever you want, then whats the need to use yahoo/hotmail account?
for java programmers c# will be easy to learn.And to begin this e-book seems to be nice: [url]http://www.programmersheaven.com/2/CSharpBook[/url]
The End.
Dhaneshnm