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 > september 2007

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

DataList\FormatDate
Posted by gh at 9/30/2007 8:21:11 PM
Below is the code from an aspx file for the datalist <ItemTemplate> <p>Company:&nbsp; <asp:Label id="UserFieldLabel" runat="server" width="450px" text='<%# Eval("UserField") %>'></asp:Label>&nbsp;Project: <asp:Label id="PrjNameLabel" runat="server" wid...more >>


Managing editboxes and labels...
Posted by kiran.inbng NO[at]SPAM gmail.com at 9/30/2007 8:18:05 PM
I am working on a project which requires converting an existing VB application into web based application.The web application consists following , 1. Tab control on the left side containing 4 tabs and each tab consisting of about 50 cotrols each. 2. Right side consists of about 50-60 contro...more >>

How to trigger a Click event on Login Control
Posted by kokoe25 at 9/30/2007 7:27:28 PM
Hi Guys, I'm using the aspnetdb to control the user access to web application. The case is now change as our customer requirement. they don't want to login/register as a user. Send an email to each individual users with the uname and password. suppose like this www.yourweb.com/redirect...more >>

How to make Web project Firefox and other browsers compatible?
Posted by trint at 9/30/2007 5:00:48 PM
My web site works just fine with Internet Explorer 6 and 7. But GridViews, FormViews and other parts of my site are either overlapping or not where they are supposed to be or missing alltogether in FireFox and other browsers. Is there a simple way to make my site compatible with most other c...more >>

Asp.Net and Session - some Interesting Facts
Posted by at 9/30/2007 2:23:46 PM
Hi, Yesterday I was discussion with my colleagues about session and a few interesting things popped up. So I thought I would share the same with all. <a href=http://www.vikramlakhotia.com/ A_few_interesting_things_about_session_in_AspNet.aspx> http://www.vikramlakhotia.com/A_few_interesting_...more >>

Partial-page cache getting repeatedly invalidated
Posted by yashgt NO[at]SPAM gmail.com at 9/30/2007 6:43:07 AM
Hi, We have a control Logo.ascx, which queries the DB to obtain the logo image from a blob in the DB and renders it on the page. The logo does not change frequently and hence we have tried to create a cache for it: <%@ OutputCache Duration="600" VaryByParam="None" SqlDependency="EMAMDB:EMAM...more >>

urlMapping problem
Posted by Jon at 9/30/2007 3:57:50 AM
Hello all, I have the following urlMapping element in my web.config: <urlMappings enabled="true"> <clear /> <add url="~/establishments.aspx" mappedUrl="~/ EstablishmentList.aspx?type=1"/> </urlMappings> This was taken from help on MSDN. When i try to navigate...more >>

Need example or recommendation for good book
Posted by pwong at 9/30/2007 12:00:00 AM
Hi. We plan to research/develop a web-application to monitor some data. The plan is to deploy approximately 50 sensors at different location. Every minute or so depend on the condition of environment; the sensors will collect the data and send them to the server which will put them into the d...more >>



GridView.RowCommand Event fires twice
Posted by Just Me at 9/29/2007 7:16:45 PM
I have discovered a( nd its probably not news to most of you ) that if you add a button column and use the Image Button type that this event fires twice. I know its been reported about a year ago, but I cant seem to find a solution to it in terms of a fix, or explaination as to why. Any ...more >>

Silverlight, blend... (Continue)
Posted by Vinnie at 9/29/2007 5:18:56 PM
ok, thanks for the help. Some of you, was right: too many words, to much marketing without identifying the final user. Smithers gave the easiest answer. Now, as i wasn't enough confused, on the Microsoft web site i found these: Microsoft Expression Web Microsoft Expression Design Microsof...more >>

Open PDF File from Hyperlink control
Posted by Mike at 9/29/2007 4:59:04 PM
Hi. I see a lot of threads regarding this, but none of them seem to present a solution. How can I open a PDF document (located outside of the web application), via a Hyperlink control. Currently I'm setting the NavigateURL property of the hyperlink equal to the network path to the document...more >>

ASP. NET (silverlight, blend... )!
Posted by Vinnie at 9/29/2007 2:37:26 PM
Hi young folk, and i'm learning to work with ASP.net and yesterday I was talking to a friend in regards a good book to buy for learning CSS. With surprise he told me that Microsoft has released the Flash competitor that integrates perfectly with ASP.Net, called Silverlight. Surfing for Silver...more >>

uploading a file to my server?
Posted by ross m. greenberg at 9/29/2007 2:19:32 PM
SSdtIHByZXR0eSBzdXJlIHRoYXQgdGhpcyBpcywgdW5mb3J0dW5hdGVseSwgdGhlIHdyb25nIGdy b3VwOiBpZiBzbywgcGxlYXNlIGRpcmVjdCBtZSB0byBhIG1vcmUgYXBwcm9wcmlhdGUgZ3JvdXAu DQoNCkknbSB0cnlpbmcgdG8gZmlndXJlIG91dCBob3cgSSBjYW4gdXNlICJub3JtYWwiIEFTUCB0 byBhbGxvdyBhIHVzZXIgdG8gdXBsb2FkIGEgZmlsZSBvbnRvIG15IHNlcnZlci4gIE...more >>

Do IIS applications "go to sleep"?
Posted by Rob at 9/29/2007 1:33:19 PM
In a previous thread, I was asking about setting up my global.aspx which inherits System.Web.HttpApplication. This is where there are the event handlers like: Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) ...more >>

question about <add assembly ...> tag
Posted by Bob at 9/29/2007 12:06:45 PM
Hi, i'm learning asp.net and i read this in the web.config of an application: <compilation debug="true"> <assemblies> <add assembly="vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> </assemblies> </compilation> Can somebody explain me wh...more >>

Visual Studio Error R6034 when using Transaction Scope with File S
Posted by Joe at 9/29/2007 11:57:06 AM
Very weird; I lost a day worth of work because of this problem. I have an ASP.NET application written in VB that is using MySQL database. Shortly, a page creates a Customer record in the database and if successful, creates a directory on the web server. I was using Transaction Scope to accom...more >>

Run SQL scripts from VB.NET
Posted by gamesforums NO[at]SPAM hotmail.com at 9/29/2007 6:07:27 AM
Hi Everyone! I work in a company that has developed several VB.Net Web applications. Currently we use SourceGear's Vault for source control and versioning for the application files. One area that have been left behind a little bit is the version control on database level. Our typical install...more >>

Newbie: Removing underline from Hyperlink
Posted by Ant at 9/29/2007 1:13:00 AM
Hi, I've added hyperlink objects to a web form & I would like to display them without the underline. How can I do this? The element in HTML appears to be <asp:Hyperlink thus in a stylesheet: asp:HyperLink { text-decoration:none } I tried to set this up in a stylesheet but no go. ...more >>

Stardard controls vs HTML controls
Posted by Sems at 9/28/2007 10:03:33 PM
Can someone tell me the rule for when to use a standard server control vs using an HTML control on an asp webpage? Thanks ...more >>

possible?
Posted by Vinnie at 9/28/2007 8:05:23 PM
do you think that it's possible to build a nice web site in asp.net 2.0 C# without knowing anything about CSS? ...more >>

Request.Url.Host + SSL
Posted by Object01 at 9/28/2007 7:11:42 PM
Are there any known issues regarding the use of Request.Url.Host on an SSL-enabled site? Requests for my application are of the form http://abc.com/myPage.aspx, but Request.Url.Host returns "def.geh.com" rather than "abc.com". The "def.geh.com" part seems to be the machine's name followed by ...more >>

FormView Buttons
Posted by shapper at 9/28/2007 7:01:42 PM
Hello, I created a FormView at runtime and implemented Insert, Edit and Item templates through a Class (Implements ITemplate). Since all my templates are the same, i.e., there are no differences between them I just used the same class for all. Can I do this? And in my ITemplate I creat...more >>

Can we have the ResolveURL functionality within *.ashx files?
Posted by Max2006 at 9/28/2007 4:56:13 PM
Hi, Is it possible to have the functionality of ResolveURL within *.ashx files? Thank you, Max ...more >>

Manipulating Excel
Posted by Paulo at 9/28/2007 4:33:37 PM
using Excel; Excel.Application ExcelApp = new Excel.ApplicationClass(); string workbookPath = Server.MapPath("excel\\produto1.xls"); Excel.Workbook excelWorkbook = ExcelApp.Workbooks.Open(workbookPath, 0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "", true, false, 0, true, false, fa...more >>

How to create a Progress bar for uploading in ASP.NET??
Posted by bienwell at 9/28/2007 3:43:11 PM
Hi all, Do you have the source code to declare a progress bar and make it display and run on the web page along with the upload file process in ASP.NET program? Please give me some hints. Thanks in advance. ...more >>

xml serilazation
Posted by bobby at 9/28/2007 2:44:02 PM
am trying to inherits membership class and implementing IXmlSerializable but it doesn't work. public class SSOMembershipUser : System.Web.Security.MembershipUser ,IXmlSerializable 'SSO.Security.SSOMembershipUser' does not implement interface member 'System.Xml.Serialization.IXmlSerial...more >>

How is this web service discription language(WSDL) created
Posted by TonyJ at 9/28/2007 2:40:23 PM
Hello! I have created a web service that is working on my localhost using IIS. If I enter the asmx file in this way http://localhost/webcalc/webcalc.asmx for the web service in the Internet explorer I can see at the top a link to Service Description. If I click on this link an XML file is sho...more >>

IXmlSerializable
Posted by bobby at 9/28/2007 2:28:00 PM
I whave a custom membershipProvider which inherits from MembershiopUser also I want to implement IXmlSerializable. Is my following code correct. public class SSOMembershipUser : System.Web.Security.MembershipUser :IXmlSerializable...more >>

IIS 7 ASP.Net improvment
Posted by Steve B. at 9/28/2007 2:06:44 PM
Hi, I have built an applicatin using ASP.Net and C#. This application uses custom url rewritting and is implemented with an IHttpHandlerFactory. Everything is working fine on II6. I'm looking for informations to update my code to the new IIS 7.0 model. In fact, how can I write in more ...more >>

Imagebutton click
Posted by Shailesh Patel at 9/28/2007 1:41:35 PM
Hi, I am using imagebutton menu on webpage for navigation. Code adds OnClick attribute and when one clicks on it, redirects him to that page. and the same menu appears. This time I want to disable click so it is just a button without link. How can I remove link so that it is not clickable whe...more >>

TreeView root node image
Posted by hchintapalli NO[at]SPAM partners.org at 9/28/2007 1:03:05 PM
Hi, How can I make root node of a TreeView control to have different expanded and collapsed images from the rest of the tree? If I use "ExpandImageUrl" and "CollapseImageUrl" it applies to all nodes including the root. And if I use "RootNodeStyle-ImageUrl" the image stays the same even if exp...more >>

Show and Hide embedded GridView
Posted by David C at 9/28/2007 12:45:08 PM
I have a GridView of contacts that contains an embedded gridview of multiple phones for that particular contact. I have a LinkButton on the contacts GridView that refers to the Select command and when I click it the embedded GridView of phones becomes visible. Now I would like to have it tog...more >>

executionTimeout problem
Posted by Greg at 9/28/2007 12:27:21 PM
Hi all, I have run into a problem that I cannot explain easilly. We run an ASP.NET web application where sometimes needs to serve some long running operations. These long running operations run in a multithreaded component installed in COM+ that can take up to 7mins. We have setup the we...more >>

updating an update panel from another updatepanel (AJAX)
Posted by ma at 9/28/2007 11:19:31 AM
Hello, I have two update Panel in my page. I want to update one of these update panels from another one. How can I do this? How can I force the whole page to be updated from a button inside an update panel? Regards ...more >>

Visual Studio 2005 Add-In
Posted by Jon at 9/28/2007 10:55:04 AM
Hello all, Does anyone know of a tool where you can highlight your private member variables click some button and it creates your public member variables? Just being lazy really! Thanks, Jon ...more >>

Enabling Edit template in formview by program
Posted by mans at 9/28/2007 10:15:46 AM
Hello, I want to enable the edit template in a FormView from program. How can I do this? The FormView bound to a table and I don't want that it do the edit/add/delete but I control when it can do this. It seems there is no method in FormView that force it to show its edit templ...more >>

BackColor binding does not work on postback
Posted by Dmitry Duginov at 9/28/2007 10:10:07 AM
Hi, I have the following label markup (label is inside FormView): <asp:Label ID="lblIndicatorReady" runat="server" Text="RE" ToolTip="Ready" BackColor='<%# Eval("Ready").ToString()=="True"?System.Drawing.Color.FromName("#FFFF80"):System.Drawing.Color.White %>' Enabled='<%# Eval("Read...more >>

Hyperlink
Posted by bobby at 9/28/2007 9:56:01 AM
I have a link in my aspx page. When I click on that link it should take me to another page Login.aspx which is in another application named mysite. So path will be ~/mysite/Login.aspx. where I am passing AppID={0}&ReturnUrl={1};...more >>

Calling external program from browser with parameters - cross-browser
Posted by Jeff at 9/28/2007 9:42:53 AM
We have an intranet website that currently uses ActiveX but we need to make it cross-browser compatible and also get around the problems we've been having with making it work with IE7 and Vista. We decided to write an external application to do the work from the client side. We are not sure how ...more >>

custom membership
Posted by bobby at 9/28/2007 9:29:00 AM
Hi, I am using custom MembershipProvider. I have to implement a method ValidateUser. This method will call the web service to get the user. The user will then be saved to formsAuthcookie. if all goes well it will return true. How can I do that. ...more >>

Web Control and CSS Class
Posted by shapper at 9/28/2007 9:21:55 AM
Hello, I am creating a custom web control (Class Library - DLL) that uses CSS Classes. I want the user to be able to change those CSS classes if necessary. Should I include the CSS Classes inside my .dll library? Is that even possible? Or should I just copy the CSS file to my Web Site ...more >>

carriage return in a textbox -> click a button?
Posted by HockeyFan at 9/28/2007 7:50:40 AM
I've done this before by trapping keydown and checking for a CR, and then clicking a particular button based on which textbox the event happened. However, I was wondering if there's a simpler way to trap a carriage return in a textbox, and have it click a button? ...more >>

Flash in aspx
Posted by Vinnie at 9/28/2007 7:06:35 AM
let's say that i have a table on my masterpage, a 4x4. Now, in one of those cells, i one insert a movieclip that i did with Flash? can i do that? how? Thanks ...more >>

How to change Text Box Back ground color
Posted by davehirend NO[at]SPAM gmail.com at 9/28/2007 6:59:11 AM
i have porblem for change the back ground of the TextBox in ASP.NET 2.0 ...more >>

configuration
Posted by Vinnie at 9/28/2007 6:55:30 AM
when i add a new page or open an exiting one, VWD goes straight in code view: how can i set the Design view to be the default view? Thanks ...more >>

Comparing two tables
Posted by JJ297 at 9/28/2007 6:36:58 AM
Could someone assist me...I'm trying to compare data in two tables called Books and Titles They both have the title field and I'm using SQL 2000 but have access to SQL 2005. Tried the except method in 2005 but getting invalid syntax on except. Thanks ...more >>

.NET Naming Guidelines. Please, need advice.
Posted by shapper at 9/28/2007 6:24:30 AM
Hello, Where can I find some information on .NET naming conventions? For example, controls prefixes, properties, etc? And is it normal to name variables with prefixes? Dim sName As String If not why is so used something like: Dim dsNames As Dataset Or Dim drName As Datarow ...more >>

How do I open an ASPX page in maximized view?
Posted by Anon at 9/28/2007 4:50:54 AM
Newbie Question. How do I open an ASPX page in maximized view using C# and VB? Thank you....more >>

Retrieving a value from an embedded SWF file from ASP .net
Posted by damian NO[at]SPAM gcoders.com at 9/28/2007 3:30:49 AM
I'm developing a quiz, and making some fancy controls, sliders and the like in Flash. I now want to be able to get the value of the slider control from my ASP . NET page. All I can find on the web are exmaples of how to use an ASP .net page as the service, but i need it the other way around, i....more >>

Connect server in vs2005
Posted by s j shah at 9/28/2007 1:57:40 AM
How to connect server2005 and insert,delete,update record in database.plz help me ...more >>


DevelopmentNow Blog