How do you pass a parameter to a [WebMethod]
Could some please help: I have a asp.net application where I call a [WebMethod] from the forms "OnUnload" method. The problem I'm having is in the WebMethod I need to either pass an arguement into...
View ArticlePage layout options .... what is available??
Hello,I have an ASP.NET app that uses a master page. What I want to be able to do for some of the page content (the pages that render content within the master page) is to use some sort of layout like...
View Articlemultiline text insert into sql db?
I am adding a multiline textbox that I will need to read and insert into the sql server. The line will be delimited so I will need to split it, insert read next line, etc.basic textbox<asp:TextBox...
View ArticleRedirect problem
I have the code below on the mainpage of my site. However, if no session data is available (the user is not logged in), the user should be redirected to the login page. This is working on one site I...
View ArticlePopup not opening in IE 10
I use the following in my app to open a popup. In IE 10 all I get is a quick ajax processing please wait and the popup never opens. I have set IE 10 to allow popups from my site, but no change.Works...
View ArticleAD question
Hello everyone,I am trying to display the user name from AD group on an asp page using vb.net. What namespace should I use? When I tried to use Imports System.DirectoryServices, I got this message:...
View ArticleCount question in LINQ C#
I need to pull all the companIds/companyNames that are in the aspnet_roles table less than 2 times. My customer only wants a company to have 2 users that can enter information on them. How can I do...
View Articledrop down list with links to aspx pages
I am trying to recreate this page for practice: http://www.leaguelineup.com/location.asp?url=lexingtonbaseball&sid=207216460I made a web form called Field Locations.aspx. Then, I put a drown down...
View ArticleHow to automaticaly refresh a grid in an ascx page?
How to automaticaly refresh a grid in an ascx page?Can anybdy help me??? <asp:GridView ID="GrdView1" runat="server" AutoGenerateColumns="False"...............
View ArticleWithout clicking submit button Press"Enter keyboard " in asp.net
In my aspx page two textboses and 1 button is theirI want to enter two textboxes data after without clicking button i want to press "enter keyboard button" directly that button action will occur,What...
View ArticleScreenshot Image of a Web URL Content ONLY
HiI have managed to capture a screenshot image of a web URL, create a thumbnail of that URL (from the HTML code I get) and save it on the server (and save the filename if the DB). I still have 2...
View ArticleSelectedIndexChanged Event not firing for programatically created drop-down...
Hi All,I am creating a drop-down list in a method, which is under selectedindexchanged event of another drop-down list. But the selectedindexchanged event of the newly created drop-down list is not...
View ArticleBeginner Help asp.net publish
i have successfully publish my file on my server. how do i insert example (www.beginner.com) into my asp.net file so that it is on the web and can be access through internet.<div...
View ArticleHow can i add listitems to dropdown(placed inside EditItemTemplate of a...
How can i add listitems to dropdown(placed inside EditItemTemplate of a gridview) dynamically?
View ArticleInsert csv file into SQL tables by using fileupload control
Hi Folks...Plese help me ,i am new in .NET side and i am really worried because my teacher has assigned a mini project to me and i have to complete this ASAP..My project details are below :1. First ,I...
View Articlevb asp.net master page tree view problem
ok i have a Tree view at the side of the master page.if i use treeview properties and manually add in nodes, no matter which content page i went to, the nodes will not change.but if i fill in nodes...
View Articlehow to repeat particular method in asp.net 3.5 ??
hi all how are u ???im using asp.net 3.5 and sql server 2005 and i want to do the following:repeat C#.net method every 30 minutes even the user colse asp.net page , for example :user login to asp.net...
View ArticleFilter recors and fill in drop down with huge sql data
Hi I have a data of more that 500000 records i want to search data and fill in other dropdown list i am using ListSearchExtender with dropdown its working buts it is very slowwhen i search and select...
View Articlehow to assign an item template (eval) value to a label outside the asp.net...
I would like to assign the`<%# DataBinder.Eval(Container.DataItem, "Name")%>`which is within the gridview to a a labelLabel2outside the gridview. I cant figure out a way to do it since the Eval...
View Article- [HttpRequestValidationException]: A potentially dangerous Request.Form...
I got error - - [HttpRequestValidationException]: A potentially dangerous Request.Form value was detected from the clientI am using .net framework 4.0. andWeb.config contains1) <httpRuntime...
View Article