Home All Groups Group Topic Archive Search About

ASP.NET Development

microsoft.public.dotnet.framework.aspnet
Score Need help using Classes
Mark Parter - 3 Jun 2006 8:41 PM - 3 messages
I have converted a schema to a VB.NET class for use in ASP.NET. This schema also used elements from the Dublin Core schema, so this was also converted to a VB.NET class. Everything works fine except when I try to use any of the elements from the ...
Score how to retrieve data from given websites
Yoshitha - 3 Jun 2006 8:15 PM - 9 messages
Hi I want to Extracet(retrieve) data from some of websites and the retrieved data has to be saved in excel or.csv files. I need to develop this in ASP.net(using C#.net Vs 2003). Can any one tell me the idea of how to get data from websites? ...
Score Help Regarding Theme and Web Controls
Muhammad Jamil Nawaz - 3 Jun 2006 7:04 PM - 1 message
Hi All, Let me explain to all of you my scenario. I have some composite controls which i write from scratch. I want to implement the themes and skins on these. My theme and skin information is in the database. So i have to implement everything on it at runtime. ...
Score Showing a loading screen
graphicsxp - 3 Jun 2006 6:28 PM - 6 messages
Hi, I have can upload a file to the server from my aspx page using the uploadfile control. When the user click on submit I'd like to show an animated gif while the file is being uploaded. But how can I know when ...
Score Masterpage ContentPlaceHolder within quotes?
Andrew Robinson - 3 Jun 2006 6:01 PM - 3 messages
I would like to use a ContentPlaceHolder within the following. Any ideas on how to best accomplish this? <td rowspan="2" style="width: 600px; background-image: url('<asp:ContentPlaceHolder ID="ContentPlaceHolderRight" runat="server" />'); background-position: bottom right; background-repeat: no-repeat;"> ...
Score Xml Control ASP 2.0
saywhat - 3 Jun 2006 2:15 PM - 9 messages
For some reason, when I reference an external document using the DocumentSource property using the web control, I get an error stating "[link] is not a valid virtual path". It is a valid address, in IE the xml page loads right up, so I know it's a ...
Score Validate between 2 textboxes
light of mind. heavy of belly - 3 Jun 2006 2:01 PM - 6 messages
Hi, I need to validate that at one of 2 textboxes has some data in it. Is it possible to hook the validation system to do this bearing in mind that empty textboxes are not evaluated? Thanks for your ideas. ...
Score how to get object from Javascript?
Bruno Alexandre - 3 Jun 2006 1:07 PM - 3 messages
Hi guys... How can we get the object value from Javascipt... if I try: document.getElementById('myTextbox').value for <asp:textbox runat="server" id="myTextbox" text="blablabla" /> it works if I do no tuse MP. using MP and inside a Wizard Control, I need to get, for example: ...
Score Displaying line break in Datagrid
Niclas - 3 Jun 2006 11:06 AM - 3 messages
Hi, I have a multiline textbox used to submit values stored as VarChar in my SQL database. I need to be able to retrieve this string and display it in a datagrid column with the line breaks entered in the textbox maintained. ...
Score StreamWriter and Export to Excel
Serkan - 3 Jun 2006 9:12 AM - 2 messages
Hi guys i tried this example at [link] but i add these statements below HttpResponse response = HttpContext.Current.Response; response.ContentType = "application/vnd.ms-excel"; response.AddHeader("Content-Disposition", "attachment;filename=\"" + fileName + "\""); //filenam koddan geliyor ...
Score Page Refresh Hell (Button event fired again)
zEE - 3 Jun 2006 7:06 AM - 1 message
The solution to the problem is let say i have a function private void btn_delete_click(object Sender, System.EvenArgs e) {    //logic to perform on button click    // In order to reflect the changes on the current page  write ...
Score User Control Question
Howard - 3 Jun 2006 6:47 AM - 1 message
According to MSDN If I use a user control like this <Acme:Login id="MyLogin" UserId="John Doe" runat="server"/> In the .cs file I put public string UserId = ""; Then I can reference UserId from my code my question is if i have a user control like this ...
Score Url Expression
Howard - 3 Jun 2006 6:17 AM - 2 messages
the default regular expression for url validation in VS 2005 does not support port numbers http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)? [link] will not work How do I add that? ...
Score Web Browser File Association
Robert W. - 3 Jun 2006 5:46 AM - 3 messages
With a WinForms app I know how to configure the registry to understand a specific file association so that it is associated with a given application. But how does one do this with a web browser? Say that one creates a new file type called ".abc".  If the user clicks on a ...
Score Validator Controls
Howard - 3 Jun 2006 3:31 AM - 3 messages
Since validator controls use client side javascript to validate the input. Do I still need to validate user input at the server side? What if an attacker writes a custom script that doesn't require the use of an internet browser? Will he be able to skip the asp.net validator controls? ...
Score UPDATE command will not work on MS SQL 2005 Express database
TJ - 3 Jun 2006 2:20 AM - 3 messages
Hi All, I am having some trouble. I have created a database via the new database option inside VWD2005. Then and table or two. I have been able to perform INSERT and SELECT operations on the table, BUT cannot do an UPDATE. ...
Score 2.0 data architecture question
Tina - 3 Jun 2006 12:57 AM - 6 messages
I'm reading about the "3-tier" design afforded by using Object Data Sources in the App_Data folder in 2.0 asp.net projects. To me, putting an object data source in a separate folder on the web sever isn't 3 tier design.  To accomplish 3-tier design I would want to put the ...
Score CodeBehind for ObjectDataSource.TypeName
mofsoft - 2 Jun 2006 11:40 PM - 1 message
Visual Studio 2005/ ASP.Net 2.0 DAL in C# exclusively using XSD (strongly typed datasets) WEB in C# references the DAL as needed via ObjectDataSources My app has about 5 or 6 "reference" tables that I am creating a ...
Score 2.0 debugging question
Tina - 2 Jun 2006 11:03 PM - 7 messages
I'm a 1.1 developer learning 2.0.  I have a book on 2.0 (Murachs upgraders guide)... It tells how to use the development server to test my asp.net apps ie. hit F5 just like we did in 1.1 using IIS. ...
Score Themes Change onfly
suresh.csharp - 2 Jun 2006 10:52 PM - 3 messages
Hi,    I have created two themes in our application. Trying to apply themes on fly to the entire application(all pages..) .    1. In web.config file mentioned <pages theme="theme1" />, It is applying for the entire site. ...
Score Closing window and Clearing the session
srinivas - 2 Jun 2006 9:38 PM - 2 messages
Hi I'm having a asp.net page.When i'm clicking on the Logout hyperlink i want to close the window and clear the session. Actually i have taken LinkButton control and written a javascript function to close the window.I have attached Javascript function to link button in the ...
Score Nested Ordered List
CK - 2 Jun 2006 9:31 PM - 6 messages
Hello all, I have a nested ol and I need help with the numbering. For example. <ol> <li>Sweet</li> <li>Salty</li>   <ol>    <li>Very Salty</li> ...
Score Disable Enter Key
sck10 - 2 Jun 2006 9:10 PM - 3 messages
Hello, I have a 2.0 web page that if the user hits the enter key, it submits the form.  Is there a way to disable this? ...
Score Call in asp.net page.
NewDirection - 2 Jun 2006 8:21 PM - 4 messages
My area is changing from vb to ASP.net. I am new to asp.net but I need to know if the following is possible. We have a proprietary package that can only an executable. Is it possible to create a executable that ...
Score Hide pagename
sasikumar - 2 Jun 2006 8:05 PM - 4 messages
Can i hide page name (default.aspx) appearing in addressbar and status bar of internet explorer or firefox. if yes please tell me vb.net code for that. ...
Score Deploying 2.0 app on a Service Provider .. Membership Provider
sloan - 2 Jun 2006 8:05 PM - 6 messages
Are there any "gotchas" on deploying the default Membership Provider (aspnetdb) to a hosting provider? I'm about to do it. And how does one get to the "auto configurer" .. that allows you to setup roles/users  .....? Can I do these steps: ...
Score Secure Users from dangerous html tags with RegEx
Hero41Day - 2 Jun 2006 7:53 PM - 4 messages
Hi, I'm looking for a easy simple way, using Regular expression to remove any dangerous HTML from user posts which might put other users at risk. right now i'm using this regular expression: return Regex.Replace(text,@"</?(((?!a|b|i|u|img|table|tr|td|/)[^>]*)|((a|b|i|u|table|tr|td|img)[^\s>]{1,}))*>","$1"); ...
Score Managing a printable layout
jonefer - 2 Jun 2006 7:50 PM - 1 message
I have a page that displays patient information. The problem is, that I have a table that auto-expands vertically for several datagrids: Benefits Allergies Problem Lists Medication  ---(well you get the point) How can I manage page breaks and headers and footers in an ASP.NET page with ...
Score How to make textbox in datagrid appears alternating back-color?
rockdale - 2 Jun 2006 7:34 PM - 2 messages
Hi, All I have an datagrid with alternating color, I also want the back-color of my textbox in ItemTemplate also appears alternating, how  could I do that? <asp:datagrid id="dgridEmpHours" width="100%" runat="server"    DataKeyField="employee_key" AutoGenerateColumns="False" ...
Score Session Data Lost on Response.Redirect with IIS 6.0
deisner - 2 Jun 2006 7:29 PM - 3 messages
All- I have a Framework 2.0 application running under Windows 2003 Server and IIS utilizing the default application pool. On my development machine (XP w/ IIS 5.1) the code runs perfectly. But when deployed recompiled under 2003/6.0, every time the application ...
Score mySQL and asp.net questions - PLEASE HELP
JJ - 2 Jun 2006 7:12 PM - 4 messages
I am a newbie to mySQL. I am developing an ASP .net Web site with mySQL as the database (of products), using vb .net 2003. Can anyone point me in the direction of a good book (or in fact ANY book) on ...
Score javascript with .net 2.0
Bruno Alexandre - 2 Jun 2006 6:44 PM - 2 messages
Hi guys... I'm always help the comunity, but this time it is me that need help :-( in the old Classic ASP I usted to have javascript to for example populate a 2nd dropdown from a 1st one, and I used input form for that... ...
Score Repost, please help, my composite control's oninit won't fire
Beavis - 2 Jun 2006 6:14 PM - 4 messages
I hate to repost a message, but I am still at the same point where I was when I originally posted, and hopefully someone else will see this one... Ok, so I have gone off and documented the lifecycle of a page with a ...
Score Composite control's oninit won't fire
Beavis - 2 Jun 2006 5:11 PM - 1 message
I hate to repost a message, but I am still at the same point where I was when I originally posted, and hopefully someone else will see this one... Ok, so I have gone off and documented the lifecycle of a page with a ...
Score Profile Propertie Type
Ron - 2 Jun 2006 5:04 PM - 1 message
Hi, I need to store a string array in the profile properties. I belive this will work please correct me if wrong. It is only going to hold three items. Thanks, Ron <profile defaultProvider="AspNetSqlProfileProvider">   <properties> ...
Score deployment project - create virtual directory pointing to Application folder
kplkumar - 2 Jun 2006 4:55 PM - 1 message
I want to create a deployment project which would put my web application files into the Program Files-->MyApplication-->App-->Web and then create a virtual directory and point it to this path. Also, I want to run sql scripts that creates my database. ...
Score Trying to perform build...website will only display debug
andy6 via DotNetMonster.com - 2 Jun 2006 4:30 PM - 5 messages
I am in VS2005 Configuration Manager and have selected from the Active Solution Configuration "release". The deployment project and a supporting c# dll project both switch to release, however the website remains at debug. When I attempt to change the dropdown for the website debug is the only ...
Score Strange HttpContext issue
Torfi - 2 Jun 2006 4:25 PM - 2 messages
Hello all I've got a very weird situation I need help with. I'm building a solution where I have custom components in a web content management system using a web store library (API in DLLs). The CMS is using Forms ...
Score FrontPage Extensions trouble
JT - 2 Jun 2006 3:45 PM - 3 messages
Hi, I apologize if this is posted in the wrong group or if this has been covered in the past.  I didn't find anything in previous posts.  I'm wondering how far the influence of the frontpage extensions extends.  I ...
Score Refreshing the browser after an insert creates an additional record
Adam Sandler - 2 Jun 2006 3:44 PM - 4 messages
Hello, This problem came up during testing.  There's a button on the page and when a user selects the button, a row is added to the database. If the user refreshes the browser (View | Refresh or F5) then a ...
Score how to pass variable to SelectCommand of SqlDataSource?
phil - 2 Jun 2006 3:43 PM - 3 messages
Hi, I want to put a recordset in a gridview but i don't know how to pass the value of the variable in the 'where' statement. The value of the variable is set in the code-behind. i added a tag <selectParameters> but i don't know ...
Score Custom validation of date
Mike P - 2 Jun 2006 3:38 PM - 2 messages
I have 3 dropdowns in my grid view in edit state, representing day, month and year.  I need to validate these controls by trying to parse the day, month and year together as a valid DateTime.  Is it possible to ...
Score Adding textboxes dynamically
Alex Denton - 2 Jun 2006 3:18 PM - 5 messages
Okay, here's my problem: I need to populate different fields in an HTML table with TextBoxes. For example, if I had 3 columns "Name", "Address", and "City"; I need to have a TextBox in all of the Address fields. This is basically the code that I used. ...
Score documentation for web.config elements
keithb - 2 Jun 2006 3:07 PM - 3 messages
Can someone direct me to a listing of all possible web.config elements and attributes. Preferably a document that explains each setting in detail? Thanks, Keith ...
Score button click event problem
ODAN - 2 Jun 2006 2:59 PM - 2 messages
I have an ASP.NET application written in C#. one of the web form where you create user information and user name has a button to click to print selected user information for the users record. However when this button is ...
Score HTTP 403 error on a newly created web site
Edward Lorden - 2 Jun 2006 2:54 PM - 5 messages
I created a new website, using the ASP .NET Website template.  Before I did anything, I tried running it in debug mode.  This worked, giving a blank page.  I then moved the site to become the default site on my ...
Score IIS didn't register ASPX extensions and debugging..
Smokey Grindle - 2 Jun 2006 2:42 PM - 1 message
IIS when I installed ASP.NET didnt register the .ASPX file type and also didnt register the debugging for ASP.NET.. I tried toe aspnet_regiis -i, but no change, how do I get this installed to have ASP.NET registered for file ...
Score loading page
graphicsxp - 2 Jun 2006 2:38 PM - 2 messages
Hi, I can upload large file from my asp.net app to the server. As soon as the user click submit, I display a view (I've got a multiview control on the page) that contains a loading animated gif. But once the file is ...
Score Looking for a method name
Andreas Håkansson - 2 Jun 2006 2:16 PM - 2 messages
Hi, I would like to begin to appologise on how vauge the information will be in this post. Maybe 6 months ago I was working on some UrlRewrite code for ASP 1.x and was reading up on the subject. Now I'm not quite sure exactly what ...
Score Raising the Select event anywhere from a Row in a GridView
Jay - 2 Jun 2006 2:01 PM - 1 message
Hello,      I have a gridview whose datasource is a dataview.  I want to raise the SelectedIndexChanged event when I click anywhere in a Row of the GridView.  I don't want to use a separate "ButtonField" to raise a ...
Score What Changes I Have to do to publish my Atlas Enabled Asp.net Website ?
yasin - 2 Jun 2006 1:57 PM - 2 messages
There are errors occures while I surfing in my Atlas Website . Pages which are coded whitout Atlas works normally. Only Atlas Insided Pages are Problem. What Changes I have to do at server features to Enable Atlas In my web site. ...
Score Panic: error trying to debug
Carlos Albert - 2 Jun 2006 1:42 PM - 3 messages
Hi folks, I started working using a new computer, with a new Win, VS2005, etc, installation. But every trime I try to debug the solution I was working with, I get this error... any help will gonna be preciated: Error 1 Could not load file or assembly 'System.EnterpriseServices, ...
Score DropDownList to String ArrayList
dan_williams - 2 Jun 2006 1:29 PM - 3 messages
Without having to loop through all my items in a dropdownlist, is there an existing asp.net 1.1 function to populate a comma delimited string with the values of my dropdownlist? I'm sure it's staring me in the face and there must be an easier way to ...
Score ASP.NET2.0 cookieless vs cookie sessions
maboo59 - 2 Jun 2006 1:06 PM - 8 messages
when using ASP.NET 2.0, if you set 'cookieless session = fales' (meaning you want to use cookies), is the session information stored in a cookie on the client machine or in the browsers memory? Thanks Maboo ...
Score Very Strange Error
Ron - 2 Jun 2006 12:56 PM - 1 message
Hi, I have a client side srcipt control that is giving me some very strange problems when my Master.Page is layed out using <DIV> tags for the UI layout. When it is layedout in a <TABLE> style fashion i have no issues. ...
Score Treeview xml format??
Alex D. - 2 Jun 2006 12:51 PM - 1 message
CAn anybody tell me which of the following is the correct XML format for treview databinding? I need to be able to use many attributes like CHECKED and EXPANDED. Tanks! FORMAT #1 <TREENODES> <treenode Text="Books" ID="1" Category="Fiction"> ...
Score Dynamically (in code) add a Event Proc Prop??
Groove - 2 Jun 2006 12:48 PM - 4 messages
This might be fairly easy to do.  Hopefully, it is. (asp.net 2 / vb) I have a Drop Down List and in th code-behind vb file, I'd like to optionally add a OnSelectedIndexChanged attribute to it.  Depending on ...
Score Dataset or datareader
^MisterJingo^ - 2 Jun 2006 12:26 PM - 12 messages
Hi all, I have a form with 4 dropdownlist controls which I populate with data from DB tables. I have a class with a method which constructs a dataset, putting each DB table into a dataset table. I then return the ...
Score reading text file issue
John - 2 Jun 2006 11:50 AM - 2 messages
I have a process that reads a text file then uploads the data into a database table. The text file has 10 lines at the end of the file that are blank BUT it appears that the enter key or space bar was hit so the code ...
Score Binding ArrayList to GridView/DataGrid
Neven Klofutar - 2 Jun 2006 11:36 AM - 3 messages
Hi, How can I bind ArrayList that contains list of myObjects to GridView/DataGrid ? thanx, Neven ...
Score Overrule MaintainScrollPositionOnPostBack once?
Edwin Knoppert - 2 Jun 2006 11:34 AM - 1 message
On error i need to scroll the window to a certain field or if not possible the top of the form. By default i set MaintainScrollPositionOnPostBack and i can unset it on error but the next postback will not have the scrollpostion stuff set yet ...
Score can't find control in master page
graphicsxp - 2 Jun 2006 10:59 AM - 2 messages
Hi, In my master page I have :               <div id="divPageNav" runat="server">               <div id="divPageNavHeader"  runat="server"> ...
Score Try to deploy VB .NET Application but Cannot select Primary Output.
Zeroman - 2 Jun 2006 10:33 AM - 3 messages
Hello all, I'm new for .NET. I try to deploy new application. When I do step by step to deploy web. The Step Add project Output Group,It don't have 'PRIMARY output' to select but only has Content Files. ...
Score Exception
Jarod - 2 Jun 2006 10:23 AM - 1 message
I got following expeption: Always when I try to update gridView using detailsView on the SECOND time. So I made 1 update, and I try to make another one and than boom... I don't add any controls dynamically its' pretty simple detailsView. But gridView ...
Score webservice and session
^MisterJingo^ - 2 Jun 2006 10:18 AM - 2 messages
Hi all, I have to build a webservice which allows users to login through it (using a ticket system). What I'm unsure on is does the server start a session for remote webservice requests? I ask as I need to generate a ...
Score populating gridview controls in edit mode
Mike P - 2 Jun 2006 10:16 AM - 1 message
I know how to populate a dropdown list in a gridview in edit mode when the dropdown is populated by a datasource (see below eg 1), but how do you populate the dropdown when the dropdown is populated in the ASP.NET ...
Score membership.getallusers add extended property?
Guoqi Zheng - 2 Jun 2006 9:07 AM - 2 messages
Dear Sir, I added some extended property(first name, last name) besides the normal createUserWizard. If I use MemberShip.GetAllUsers, it does not return those properties? How can I show those properties to the gridview as well? Thanks! Guoqi Zheng ...
Score cannot load http://localhost/default.aspx
scott - 2 Jun 2006 8:49 AM - 12 messages
Hi, From IIS6 and from a session on the 2003 server i attempt to browse to http://localhost/default.aspx and get the following error: Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details ...
Score editing gridview problem with rowdatabound event
Mike P - 2 Jun 2006 8:33 AM - 1 message
I have a couple of columns in my gridview that I am adding formatting to in the RowDataBound event.  But when I want to edit the rows when the RowDataBound event gets called, I get an error.  I'm thinking that I ...
Score asp.net connection problem with sql server 2005
amjad - 2 Jun 2006 8:12 AM - 2 messages
Hi i received that error when connection to sql server 2005 from work station . An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that ...
Score cancel POST request
Pavel Dvorkin - 2 Jun 2006 7:56 AM - 4 messages
Hi All, I have next problem. A page contains HtmlInputFile. User tries to upload file. File size is too large, so I can't allow this request. Now I have DNS error accoeding to MSDN When uploading large files, use the maxRequestLength attribute of the ...
Score Error creating Database for WebPart Web Application in ASP.NET 2.0
Shell - 2 Jun 2006 7:39 AM - 1 message
Getting the error when running the Web Application using WebParts: Server Error in '/ConnectedWebPartsDemo' Application. -------------------------------------------------------------------------------- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed. ...
Score Read XML from string instead of file (C#)
th3dude - 2 Jun 2006 4:40 AM - 6 messages
I've searched quite a bit for this one and i can't find any solid solution for what i'm doing here. Right now i'm geting an xml string from an API, creating an xml file, then read the file with XPath or XmlReader, grab the attribute data, ...
Score membership createuserwizard add extended property.
guoqi zheng - 2 Jun 2006 3:41 AM - 3 messages
Dear sir, I am using the createUserWizard of ASP.NET 2.0. I am trying to add two extra fields to it. FirstName and LastName. However I did not find out how can get the value out of this two addtional fields? ...
Score Closing browser in Firefox
srinivas - 2 Jun 2006 3:22 AM - 4 messages
Hi, I'm having a link on asp.net page,through which i want to close the browser window.Using javascript i used window.close(), which is working perfectly in IE,but when i'm running the same asp.net page in firefox browser link is not ...
Score aspx extension
magix - 2 Jun 2006 3:16 AM - 4 messages
Dear Guru, What is the requirement to be able to run asps extension ? I installed .NET Framework 2.0. Any other .NET components I need to install in order to run aspx extension ? My IIS Server is 6.0. Currently, if I run aspx file in localhost, it will said page not found. ...
Score Handling Postbacks if using ISAPI rewrite?
darrel - 2 Jun 2006 2:18 AM - 2 messages
We're using ISAPI rewrite to turn this: /district/2 into this actual URL /default.aspx?siteID=2 Up to this point, things have been working perfectly, but we've never had to do a postback, oddly enough. We're finally adding some functionality and ...
Score how can we make detailsview movable?
loga123 - 2 Jun 2006 1:08 AM - 2 messages
Hi All, I am using ASP .NET 2.0. I have gridview displaying data and when a row is selected on gridview "detailsview" pops up based on the row selected from gridview. I want to make this "detailsview" movable as we do with "windows". ...
Score SelectCountMethod error - looking for parameters?
miky - 1 Jun 2006 11:50 PM - 7 messages
Hi, I'm trying to get custom gridview paging working and I'm getting the following error: "ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'count' that has parameters: p_TableName, p_OrderBy, p_MaxRows, p_PageNum, p_StartRowIndex." I have a gridview associated to an ObjectDataSource and the ...
Score securityTrimmingEnabled hides files that should be exposed
keithb - 1 Jun 2006 11:33 PM - 5 messages
ASP.NET Web Site Administration Tool sets access rules by folder, not by individual file. What would cause some files in a folder to be hidden and some to be displayed when securityTrimmingEnabled="true"? Thanks, Keith ...
Score Accessing other members profile properties
Jesse Johnson - 1 Jun 2006 11:28 PM - 3 messages
I have an important question. How would I access profile information on another member? Exaple: John and Sue are both members of an aplpication, but when john is logged in he needs to see Sue's contact # which is stored in her ...
Score Display Insert Template on FormView when "Add New" button is clicked
scartin - 1 Jun 2006 10:57 PM - 2 messages
I'm fairly new to working with ASP web controls, and am running into what seems to be a ridiculous problem that I'm hoping will be a breeze for an experienced ASP developer. I have a GridView and a FormView on the same page, where the GridView ...
Score Display Insert Template on FormView when "Add New" button is clicked
scartin - 1 Jun 2006 10:51 PM - 1 message
I'm fairly new to working with ASP web controls, and am running into what seems to be a ridiculous problem that I'm hoping will be a breeze for an experienced ASP developer. I have a GridView and a FormView on the same page, where the GridView ...
Score Master pages - organising layout - contentplaceholder confusion
kdfake@spam.com - 1 Jun 2006 10:37 PM - 6 messages
Ok Im a bit confused with contentplace holders?!! Should i use div all the time within them? ...
Score How to make webform appear center in web browser
kdfake@spam.com - 1 Jun 2006 10:05 PM - 6 messages
I cant figure out how to do it... Any clues? R ...
Score GRIDVIEW: formatting headertext
MarkAurit - 1 Jun 2006 10:03 PM - 2 messages
I have a BoundField, and I need to split the HeaderText onto >1 line.  Is that possible?  An embedded <BR> is just added as text. Thanks ...
Score Passing Server side variable to JavaScript?
rockdale - 1 Jun 2006 9:54 PM - 2 messages
Hi, All: How can I achieve this? I have a Function in JavaScript and this function requires an argument which retruns from a backend C# function. I tried the following, but keep getting error "CS1525: Invalid expression term '<' " I remeber we can do something like this in ASP. ? ...
Score Parsor Error at Webhoster
GaryDean - 1 Jun 2006 9:33 PM - 6 messages
I have a small asp.net app that I have been running at a webhoster who blew himself up.  So I transfered webhosters but my app won't run at the new webhoster.  It also runs fine on my dev boxes. ...
Score datetime convert experts...help wanted
dave - 1 Jun 2006 9:29 PM - 3 messages
I have a string "05142000" i want it converted to a date. Any good clean ways of doing this without reverting to string manipulation? I have tried mydate =  Date.ParseExact("05142000", "ddMMyyyy", Nothing) but it complains about "string is not supported in calendar ...
Score Response.Write with QueryString and Target
sck10 - 1 Jun 2006 9:27 PM - 3 messages
Hello, I am trying to redirect to a new URL using a query string and target.  I can not figure out how the syntax should be for setting the target.  Any help with this would be appreciated. ...
Score Atlas and asp.net Image control not refreshing (firefox fails, IE6 works)
PeterKellner - 1 Jun 2006 9:19 PM - 1 message
I have an asp.net 2.0 Image control that I have surrounded with the appropriate atlas:UpdatePanel tags.  The Image control referencs an aspx page whose only job is to output an Image.  (it forms the image ...
Score asp.net 2.0: Fill browser window
Martin Robins - 1 Jun 2006 8:41 PM - 1 message
I am trying to create a page that automatically resizes to the available view-space within the browser. I have tried setting everything to 100% etc. but to no avail as this then ends up bigger than the available viewport. ...
Score strange values for checkbox items
Andreas Bauer - 1 Jun 2006 8:40 PM - 3 messages
Hi, when the page loads I want to add items to a checkboxlist. CheckBoxList cbprofiles = new CheckBoxList(); foreach (ProfileService.ProfileType p in profiles) {     cbprofiles.Items.Add(new ListItem(p.name, p.id.ToString())); } ProfilesPlaceHolder.Controls.Add(cbprofiles); ...
Score Identity Name
Andrew Robinson - 1 Jun 2006 8:26 PM - 3 messages
I am using string username = System.Security.Principal.WindowsIdentity.GetCurrent().Name; to retrieve the current username. This works fine running under the development server (Cassini) but always returns DOMAIN\ASPNET when running under IIS 5.1 (Win XP). I have turned on Integrated Authentication and ...
Score Website works in debug but not when deployed.
egamble - 1 Jun 2006 8:17 PM - 3 messages
I think it has something to do with my connection string(s) as the error is: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. But when i test my connection it works fine and ...
Score Working alternative to ObjectDataSource control
Mikeon - 1 Jun 2006 8:07 PM - 1 message
Hello! For everyone that has worked with ObjectDataSource it should be obvious that the control has some major problems, some of which I have described on my blog: [link] ...
Score Assign a property to webcontrol in run-time
Andrea - 1 Jun 2006 8:04 PM - 1 message
I've built my own webcontrol to make page navigation. One of control's property is recordCount that is used to know how many record should be take in mind to print out the pages number. The question is I've registered the control in the page in this way ...
Score Problem with Internet Explorer ActiveX Update
dlcf123 - 1 Jun 2006 7:12 PM - 1 message
We have a .NET ASP application that uses <OBJECT> to load an ActiveX component.  I have replaced the <OBJECT> HTML in the .ASP file with the object definition with innerHTML and an external JScript function to ...
Score Add invisible comments to asp.net page in VS2005
walanta <> - 1 Jun 2006 6:49 PM - 5 messages
Hi, Anyone know how I can add some invisible comments onto asp.net page during development in VS2005 so I remember to make more changes the next time I go check the code? I want to be able to see it in design view, like a quick note. ...
Score about treeview populate on demand
Alex D. - 1 Jun 2006 6:39 PM - 1 message
Does any body knows if when using the  treeview populate on demand feature if the whole tree's viewstate is sent back to the server under the hood? Thanks, Alex. ...
Next »