Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > april 2007 > threads for wednesday april 4

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

managing documents stored in database
Posted by Dariusz Tomon at 4/4/2007 11:14:30 PM
Hello, I have to design and develop web application (ASP.NET 2.0). The main point of it will be managing documents stored into database (SQL Server 2005). Advice me please how can I do it. What is the best field type to store documents (Word, Excel, PDF). Maybe new varbinary(max)? -maybe ot...more >>


GridView as EditItem Template
Posted by Dariusz Tomon at 4/4/2007 11:08:36 PM
Hello, I have GridView in EditItem Template of DetailsView (in normal - read-only mode there is a label). When I'm in edit mode I can select one item from GridView. The main problem is that as I can see in DataBidings property of the GridView I deliver SelectedIndex instead of SelectedValue...more >>

adodb vs ado.net
Posted by Aleks Kleyn at 4/4/2007 8:47:07 PM
At this time my code use ODBC and adodb to access database. Working with win vista i discovered that way i cannot work with SQL server. it is not clear this is bug or Microsoft suppose to give priority to ado.net. The same time my friend told me that Microsoft does not recomend to use ado.net....more >>

asp.net from asp
Posted by Aleks Kleyn at 4/4/2007 8:31:59 PM
I converted code from asp to asp.net. Customer complains that new code runs slower then old one. What may be the reason and how I can improve presentation of web page? ...more >>

Not able to wire events in user control
Posted by jfolland NO[at]SPAM tcimex.com at 4/4/2007 8:17:34 PM
I am trying to add a basic user control to a web site; coming from visual studio 2003 this was extremely easy. I would just add the user control and then add the controls that I want on that user control, but I am not able to get a basic link button to click. This seems so ridiculously basic...more >>

Forms Authentication problem
Posted by David at 4/4/2007 7:58:15 PM
Hi all, I have a problem with Forms Auth. I am not using the protected folder method, rather, I want some parts of the page to be shown depending on the authentication state. Basically, I have a dashboard application. In the dashboard, I have various hyperlinks and linkbuttons. I have al...more >>

Postback to Parent Window
Posted by chris.royle NO[at]SPAM ozemail.com.au at 4/4/2007 7:57:05 PM
I have an ASP.NET application that has a gridview control on the main window. When a user clicks on a button on the main window, a new window is opened which allows them to search for a particular item from a list. Once they have completed the search on this window they click on the submit butto...more >>

Problem Escaping Spaces in URL in Web.sitemap
Posted by Mike McIntyre at 4/4/2007 7:31:44 PM
In a Web.sitemap file I need to include URLs that include spaces. I use %20 to escape the spaces: <siteMapNode title="Useful Strings" description="" url="http://getdotnetco.web119.discountasp.net/GdncStore/free/Articles/A%20Few%20Useful%20String%20Class%20Methods.htm"> </siteMapNode> ...more >>



aspnet_wp.exe caching and locking process
Posted by Greg at 4/4/2007 7:29:46 PM
Hi, I have a web service that calls an an assembly on a server. My client calls the web service, the web service calls the assembly... very straightforward. I have noticed 2 things though that I cannot quite understand; A) When my assembly throws an exception (that is handled and trickle...more >>

DetailsView fixed columns width - how to?
Posted by Tomasz at 4/4/2007 7:07:05 PM
Hello Developers, DetailsView control, typically, has two columns: names and values. How do I define either fixed or minimum width of those columns? I have tried modifying EditRowStyle and RowStyle width, but with no good results. I would appreciate any hints. Thank you, Tomasz ...more >>

Dynamic Link button error when clicked
Posted by Matt at 4/4/2007 5:39:47 PM
Creating Dynamic aspnet link buttons with in user control, Then i use the control on ever page with wraped with master page. I get the url of the link buttons from xml. Parameter from xml also Builing Dynamicly link buttons with url's works fine. The problem is when i click the buttons they Firs...more >>

save word after mail merge
Posted by Badis at 4/4/2007 4:56:03 PM
Hi, I'm using the bellow code to mail merge a word document and it's working fine, where I'm openning "improvement.doc" which is just word document that contain with some text and the merge fields at the top of the document... after performing the merge I want to save the merged document as ...more >>

Javascript scrollbars question
Posted by Shawn B. at 4/4/2007 4:55:28 PM
Greetings, I have an IFrame with overflow: auto set. I would like to, using Javascript, discover whether scrollbars are rendered. In otherwords, I'd like to know whether there is an overflow or not so I can make a decision based on that test. I'm at a loss as to figuring this one out. U...more >>

Problem with ASP.net menu control
Posted by iiman at 4/4/2007 4:03:58 PM
I have converted 1.1 application to 2.0 application. Now I am using master page with the menu controls provided by 2.0 framework. Problem is that when I hover over the menu, dynamic menu appears but i also get vertical scrollbar. Has anyone encounter this before? Thanks ...more >>

'please wait... page is loading' - how?
Posted by patrickdrd at 4/4/2007 2:04:02 PM
Hi everyone! Does anyone know how can I show that (should be a div I suppose) to a user for pages taking a long time to load? Thanks in advance!...more >>

'debug' mode and session question
Posted by patrickdrd at 4/4/2007 1:56:07 PM
Hi everyone! 1) How can I include 'debug' mode code in my asp.net 2005 project? i.e. in visual basic 6 (where I come from) the developer could check if the application was running from within the IDE and write some code that would run only then. How can I do that in asp.net 2005? I've se...more >>

Number
Posted by shapper at 4/4/2007 12:59:29 PM
Hello, Inside a GridView I am accessing a value of the datasource: DataBinder.Eval(gvrContainer.DataItem, "Average") I know this is of type Double. I want to round it and change it to integer. How can i do this? Thanks, Miguel ...more >>

Event Handler is not called for Control inside User Control
Posted by ccbalapatel NO[at]SPAM gmail.com at 4/4/2007 12:44:19 PM
Hi, We have recently converted our code to ASP.NET 2.0. We have an user control that is embedded inside the page. The user control has a link button and the event handler for the link button is written inside the user control. When the link button is clicked, the page is posted back and the pag...more >>

Conditional forms authentication
Posted by ajitgoel NO[at]SPAM gmail.com at 4/4/2007 11:35:27 AM
Hi; I am using forms authentication for some new aspx screens in our site. These pages need to be not accessible to users who do not have certain rights while they need to be accessible to users who have these rights. These rights would be determined at runtime and would come from a webservic...more >>

File deletion from server folder
Posted by James Page at 4/4/2007 10:08:00 AM
I'm building a site using VS 2005, Expression, vb.net & asp.net 2.0 I want people to be able to upload text & photos - Accomplished! I want people to be able to edit / delete text on the database - Acomplished! I want people to be able to delete their uploaded photos from the file system - Pr...more >>

Problem with ASP.NET website. Does not display anything but a blan
Posted by Sai Vajja at 4/4/2007 9:08:07 AM
Hi I am working on a website and suddenly this afternoon i cannot view anything on my pages. No html is being rendered to the pages (no errors are shown while compiling the website). I have tried clearing the temporary asp.net folder and re-compiling the solution. But, if i try to run anoth...more >>

pre-rendered vs client-side processed javascript
Posted by PJ6 at 4/4/2007 8:59:24 AM
CSS pseudoclasses are too limiting at the moment (epspecially for IE), so when I'm authoring say, a grid control, I believe there are only two possibilities - one, emit javascirpt for each cell, or two, emit javascript to wire up events to each cell client side. I've read a lot about the ben...more >>

Custom Validator validates, but doesn't tell
Posted by Radu at 4/4/2007 8:45:38 AM
Hi. I have an ASP control on my page: <asp:Calendar ID="calStart" ................ Etc </asp:Calendar> and I have a Custom Validator defined as <asp:CustomValidator id="validDate" Text="*" ErrorMessage= "The date of the meeting should be at least 7 business days later than the da...more >>

What is the Page Directive?
Posted by senfo at 4/4/2007 7:59:55 AM
This is probably a really stupid question, but what exactly is the <%@ Page %> directive? I thought I knew the answer to this, but now I'm not so sure that I do. Essentially, what I'd hope to accomplish, is to be able to add new attributes to the Page element to provide custom functionalit...more >>

Using ATL COM DLL in Web-Based application (Visaul C# and ASP.NET)
Posted by John at 4/4/2007 7:38:01 AM
Hi All, My requirement: I want to use TestDll.dll(ATL COM DLL, Threading Model - Apartment, Interface - Dual and Aggregation - Yes) in ASPX pages. I created type library for TestDll.dll (ATL COM DLL) using tlbimp from VS2005 command prompt. Output is TESTDLLLib.lib(.NET Assembly). It has ...more >>

FindControl() method and NamingContainer
Posted by Dan at 4/4/2007 7:35:00 AM
Hi, I created a custom control (ParentCustomControl) which is using a custom template (implementing ITemplate interface), in the instantiateIn method of this template I create all the controls I need (Label, textboxes, button) and I also create another custom control (ChildCustomControl) whic...more >>

Reload Application after App Pool Recycles
Posted by scolemann NO[at]SPAM gmail.com at 4/4/2007 7:05:03 AM
Hi all, I have my application pool set to recycle once a night. After recycling it takes about 1 minute for my application to reload. That is to say if I got to the site in the browser it takes about 1 minute to load, when it normally loads in less than a few seconds. I know that this is ...more >>

HOW TO DO ANIMATED OBJECT IN VISUAL WEB DEVELOPER EXPRESS EDITION 2005
Posted by moussa at 4/4/2007 6:52:28 AM
HI, IAM A beginner and i use visual basic express web developper 2005 iam tring to do animated object move across the page , i tried doing it using timer but i was unable to use the code. can any one tell me the code. thanks moussa PLS. REPLY ...more >>

Master Pages, Skins & Style Sheets
Posted by Kat at 4/4/2007 6:24:03 AM
I have a master page, with a reference to a style sheet in the header, as usual: <link href="Styles.css" type="text/css" rel="stylesheet" /> I have a content page, with a label on it: <asp:Label ID="lbl" runat="server" Text="Addresses" CssClass="Heading1"></asp:Label> My st...more >>

CausesValidation
Posted by JimHeavey at 4/4/2007 6:00:01 AM
I have a web page which has a bunch of validation controls on it. The page also has another form which provides a couple of HTML text boxes and an HTML button. This functionality performs a look up. My problem is that when the user populates the information and presses the button, it caus...more >>

sessiontimeout
Posted by richakarve NO[at]SPAM gmail.com at 4/4/2007 5:08:05 AM
i want to stop the child window from session timeout if the user is working on its parent window. i am using window.settimeout property. The problem is the child window is not in the Master page and the parent window is..so there is not direct linking between to as such please help me. ...more >>

Disabling submit button until page is fully rendered with JavaScript?
Posted by ChrisN at 4/4/2007 4:46:28 AM
Invoking a postback before a large ASP.NET page has fully rendered will often cause the page to crash. This is unhelpful and confusing to users. I'm wondering if I can overcome this by disabling any controls that invoke a postback until the page is fully rendered, ie setting the controls dis...more >>

Options for server-side rich text rendering & printing?
Posted by ChrisN at 4/4/2007 4:37:00 AM
I have a requirement to generate and print good-looking customised correspondence. I would like to be able to use mark-up for formatting, ie as a MS Word or HTML document. However Word doesn't seem to be an option because of various problems including print dialog boxes and licensing. Is...more >>

Best practice place to store javascript include files within a web app
Posted by Nemisis at 4/4/2007 4:13:00 AM
Hi everyone, In a asp.net web application, where is the best way/best practice way to store external javascript files that i want to reference in pages/ web controls etc? None, of my scripts contain passwords, they are just useful scripts, that i use in multiple controls. ...more >>

URLDecode differences in NET 1.1 and 2.0
Posted by samuelhon at 4/4/2007 4:06:43 AM
Hi all I'm attempting to decode a string which works fine in 1.1 However, we've now moved the project to 2.0 and its not happy. The length of the decodedString is different. I've tried changing the encoding type which is UTF8. Any thoughts? Cheers Sam string stringToDecrypt = "%e...more >>

Anyone know how to work with Xpath of Xmlnode ? need some help with this.
Posted by jesper_lofgren NO[at]SPAM yahoo.se at 4/4/2007 3:50:50 AM
Hello, i need to help here. I have a xmlnode as you can se below (full xml is in the bottom). I wonder how i can get the values inside the CSammanstallningLista . <CSammanstallning Id=3D"Omrade" DefaultInclude=3D"0"> <Rubrik>Omr=E5de</Rubrik> <Text>Kallh=E4ll. Fabriksv=E4gen, H...more >>

Diff between convert.ToDouble and (Double)
Posted by mrajanikrishna NO[at]SPAM gmail.com at 4/4/2007 3:03:54 AM
Hi Friends, I am accepting a number from the user entered in a textbox. I want to assign to a variable in my code and assignt this to that variable. double num1 = (double)txtNum1.text; this produced an error double num1 = convert.ToDouble(txtNum1.Text); This succeeded. What i...more >>

Forms Authentication
Posted by m.owens NO[at]SPAM lbs-ltd.com at 4/4/2007 3:02:20 AM
Hi, I am new to the concept of asp.net authentication so this might be obvious. Im working on an application writtten by my predecessor, which has login page. This is authenticated against credentials in a database. If the user is an administrator, the user is forwarded to a management consol...more >>

New installation
Posted by mrajanikrishna NO[at]SPAM gmail.com at 4/4/2007 2:53:49 AM
Hi friends, Currently I am using classic asp using MS Access 2000 DB on win 2000 advanced server. Now I would like to upgrade to Win 2003 server. And I want to use ASP.NET 2.0, sql server 2005 in the new installation. If I install 2003 server, will the classic ASP still runs even I install ...more >>

All New IIS virtual directories with ASP.NET throw exception "initial character not valid"
Posted by Pao at 4/4/2007 1:07:01 AM
Hi all For all NEW sites (virtual directories) that I create, I receive always the same error: (I translate so may be a little different) Impossible to visualize the XML page Impossible to visualize the XML input through the XSL sheet. Correct the error, then click on Update, or try anothe...more >>

Custom Authentication without Server
Posted by Rudi Hausmann at 4/4/2007 12:00:00 AM
Hi, I want to implement my own "primitive" Authentication. I use following code in web.config: <authentication mode="Forms"> <forms name="FwLoginCookie" loginUrl="Login.aspx" protection="All" timeout="30" path="/" ...more >>

GridView Height
Posted by Gunawan at 4/4/2007 12:00:00 AM
Hi, Can I know the gridview height in the runtime, so whether they display 8 rows or 2 rows I can make the parent container (panel) fit its height to the height of gridview? Regards, Gun ...more >>

Unexpected behavior in DeactivateStep of the UserWizard control
Posted by Petar Atanasov at 4/4/2007 12:00:00 AM
Hi, all I have the following: a web app using the CreateUserWizard control. After furnishing the user creation, the page automatically logs out the current user and than logs in the newly created one. On the DeactivateStep (ByVal sender As Object, ByVal e As System.EventArgs) there is n...more >>


DevelopmentNow Blog