No luck
Neeraj Arora
Posts
-
javascript function call from user control's command button -
javascript function call from user control's command buttonHi all, I have a user control having a command button. On click of button, I've bound a javascript function which should show a div control. But, when I click on button, it postback the page. cmdPostComment.Attributes.Add("onClick", "return showDiv();") function showDiv() { document.getElementById("divPostComment_Tab1").style.display = "block"; return false; } I've noticed one thing, When page renders, command buttons name got changed to "control1$cmdPostComment". Thanks in advance.
-
Linkbutton control problemhopefully you have created tablerow before loop. otherwise code is perfect.
-
how to restrict image folder from direct accessThanks buddy.
-
how to restrict image folder from direct accessThanks for the reply. When I show image, anybody can check the relative path from viewsource and try other photos from same folder. Please correct me if I'm wrong or I understood your reply wrongly. Rgds, Neeraj
-
how to restrict image folder from direct accessThanks for reply but I'm not aware how to write this type of handler. Could you help me for a sample. Rgds, Neeraj
-
how to restrict image folder from direct accessHi All, I've a image gallery website where members can upload and restrict the access to few friends. The problem is, images are directly accessible from browser. How could I restrict specific folder to accessible from aspx pages only. Regards, Neeraj
-
0 size of child controls of UpdatePanel [modified] at runtimeHi All, I'm using Ajax UpdatePanel in my page. I have two div controls inside UP and want to resize the div as per the size of image/ASPTable. When I check the size of image/table, it shows 0.
modified on Sunday, August 24, 2008 7:15 AM
-
Can some body convert this c# code to VB.NETPublic Shared Function AdvancedFindControl(ByVal Control As Me, ByVal controlId As String) As Control Dim controlQueue As Queue = New Queue(New() { container } ) Dim currentControl As Control While controlQueue.Count > 0 currentControl = controlQueue.Dequeue() Dim child As Control For Each child In currentControl.Controls controlQueue.Enqueue(child) Next If currentControl.ID = controlId Then Return currentControl End If End While Return Nothing End Function
-
is our application works if we remove the web.config ?I dont think, web.config is a mandatory part but if your web site does not have a web.config, web servers default settings will work for ur site also. I read an article, may be that helps you. http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx "A smile passed to someone in the morning may travel to thousands of people."
-
ASP.NET and XMLHi Lavanya, you can use xQuery in asp.net. This article may help you. http://aspnet.4guysfromrolla.com/articles/071603-1.aspx Enjoy programming.:)
-
increment page's speed?Php is faster, no doubt but once the asp.net page is loaded then for next queries, it performs at a good speed. Check your database queries, it should be as less as can. second use stored procedure rather than sending queries directly to database. If you are not using database then have to check what contents you are puting on your site......
-
Retain Drop Down List Current Values between response.redirectsThere are many ways to do it. I think you should pass the DDL values through querystring and trap in the next page otherwise session and hidden fields are also useful.
-
how to session variableAs cleako has described session mentain user information. it can be stored at client side or server side both. At client side, it is stored in cookies and if cookies are disabled then automatically it goes to server. You can keep your session data in database also which is most effective. I hope, this information will help you a bit.
-
session expires after file update...Please give some details.
-
webhost -- your opinionThis site gives better performance and have much better features. http://www.m6.net
-
ASP.NET 2.0 button click to perform 2 actions (client side e-mail then redirect to another page)Wonderful
-
How to save image(.jpg) file in databaseHave you used the image datatype in database?
-
signup pageSimply write a stored procedure and pass email id as parameter. There select the email id where email id = sent email id. this way, if null is returned then means, email doesn't exists else it exists.
-
DataGridcreate a join between cust_order.order_id = cust_debit.Cust_id