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
January 2007
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 webcontrols > january 2008

Filter by week: 1 2 3 4 5

AJAX UpdatePanel - IsInAsyncPostBack and IsPostBack returning false
Posted by PSY at 1/31/2008 2:23:04 PM
I am having an issue with the AJAX Update Panel and PostBack. My issue is such. I have a series of checkbox'es with events tied to them and autopostback="true". For the most part, things are running great. However, in my Page_Init and Page_Load sections, there is code that should only be ac...more >>

Wizard control and Google Analytics
Posted by David Evans at 1/29/2008 5:28:35 PM
Hi We are using the Wizard control on a few pages on our web site; we are also using Google Analytics to trac pages. It looks to me like the pages with the Wizard control are registering as a single page as teh user steps through the Wizard. This is a problem, because the Wizard is the p...more >>

absolute path to ImageUrl property .....
Posted by Adam Right at 1/28/2008 3:42:50 PM
Hi All, I'm developping a site using VS2008 (c#) on IIS 6.0. In my application images are not shown by the image control, they are in the web server machine and the main folder path is E:\PICTURES. If I set the ImageURL property in the code and set it to the absolute path of the image, i...more >>

In a template, Eval () does not works in fields ofcontrols, it works in plain text : why ?
Posted by abargaddon at 1/27/2008 10:14:46 PM
Hi all, I am developing a hierarchical, templated control in order to show hierarchical data in a more flexible way than with TreeView. Databinding and retrieving works well in plmain text inside the templates. However, it does not work in fields. Example : <gug:RecursiveULMenu ...> <...more >>

The DataSource Control
Posted by Angel at 1/27/2008 1:10:00 AM
One claim made of aids in rapid application development but all I see is people having trouble with it and asking lot's of questions about it. I do not claim that these controls are not useful but they are not certainly the end game. In fact, I consider it only one more tool in the toolbox a...more >>

Not able to use spaces (or equivalent characters) in sitemapnode url
Posted by jmorgret at 1/25/2008 2:24:30 PM
I am using a sitemap for a menu and I need to reference urls that have spaces in them. I have tried all of the following and still get an error saying my url is malformed. /Pages/Content/ContentListPage.aspx?type=4&amp;sub=White&#43;Papers /Pages/Content/ContentListPage.aspx?type=4&amp;sub=...more >>

Help! Gridview not formatting with DataFormatString
Posted by Burt at 1/25/2008 8:56:53 AM
My GridView won't format! See code below, I've got HtmlEncode turned off, and still nothing works...the GV just has the raw data. Pulling my hair out over this. Could it be because I'm building the source (DataTable) dynamically? Thanks for any help. Using .Net 2.0, VS 2005, VB - Burt <asp...more >>

Wizard previous/next-buttons and validation
Posted by orjanz at 1/25/2008 12:37:01 AM
Hi. I'm using the Wizard-control on some of my web-pages and have discovered that validation I have put on my controls don't fire when I click the previous-button. Only on the next- button. I haven't found out how to access these buttons within the Wizard to maybe set CauseValidation=True or ...more >>



Why TreeView web control fails with SSL HTTPS??
Posted by Rafi at 1/23/2008 4:27:01 AM
hi, I have a web application (vs2003 ASP.NET 1.1) that use web control treeview in several pages. Every thing is ok when using HTTP. Now, i am trying to use with SSL and HTTPS. I have configured SSL to the entire web site using "SelfSSL" according to instructions in this page: http://www.vi...more >>

Login control missing some properties
Posted by Adam M at 1/22/2008 6:21:21 PM
Hi all, I am using VS2008 and when click on the Login control and look at its properties pane, I am missing some of the properties in the GUI. I saw an MSDN video about using this control and the demo shows alot more properties in the IDE than I am seeing when I perform the exact same steps...more >>

sort method in Treeview
Posted by Red Baron at 1/22/2008 4:29:06 PM
Hi all, Is there a any built-in method in TreeVew for sorting the nodes. I mean, there is a Sort() method in windows form version of treeview but i can not find any method in asp.net version, like that... Thanks ... ...more >>

Navigate to URLs within the database
Posted by cs_in_va at 1/22/2008 1:58:19 PM
I thought this would be an easy thing to do, but it is turning out to be a pain. I have a filed in my database for url's. I have a gridview that displays the url. I want to be able to click on the url and go to that web site. I have messed with the HyperlinkField within the gridview, but it...more >>

Gridview and select
Posted by cs_in_va at 1/22/2008 1:00:13 PM
I have an application that has 3 tables, vendors, supplies and vendor_supplies (this table identified what supplies the vendors supply) I trying to build a form with the gridview and a detail view, that works fine when I select "select" on the gridview the information is passed to the details...more >>

How to Fill DDLB with 3000+ data .??
Posted by MonikaJethi2@gmail.com at 1/22/2008 10:17:02 AM
Hi, I need to Fill DDLB(Drop DOwn List Box) with almost 3000+ data (options). Not sure how do I do that. I thinl a drop-down Cannot work with this large number of employees. Mine is a simple .asp page , I know it's possible in Dot Net but I need to use simple ASP code . Please Please help m...more >>

DetailsView updates unused properties to null
Posted by Nick Bennett at 1/20/2008 12:31:58 AM
I've got a page with a DetailsView. It uses a SqlDataSource which itself uses stored procedures for Select and Update. I don't want the user to see some of the columns, but if I don't bind them (or if I do bind them but set Visible=False), when the Update procedure is called, the parameter...more >>

how to read data of one web page from another web page
Posted by Jeevan at 1/17/2008 6:10:56 PM
hi how to read data of one web page from another web page. request.form("txt_name") is not working PLEASE HELP. ...more >>

Changing Hyperlink Styles for Each Row in a Table
Posted by Brett at 1/17/2008 11:41:02 AM
I have a page using a <table>, and must remain so for now. I am trying to set an a:link style for each row depending on certain criteria. Hyperlinks for some rows need to be black, some red. How do I set the a:link style for each row. I tried putting in a <style>a:link within the first <...more >>

Add New Line to Gridview
Posted by RC- at 1/16/2008 12:53:18 PM
Hello, I am using .NET 2.0. I am using the GridView(s) that come standard with .NET. Is there a way using the GridView to programmatically add a new row to enter new data or is there a third party control that is available that allows the adding of data rows? Any and all help is greatly app...more >>

How do I build a 3-pane framework in ASP.NET?
Posted by LRuss at 1/16/2008 12:25:00 PM
I am looking for a tutorial, sample project, or 3rd party control(s) that will show me how to build a 3-panel webpage frame work like the MSDN Library or Outlook. A fixed horizontal panel across the top; a treeview navigation in left-hand panel; content in the right-hand panel with horizontal...more >>

WebPart Initialization
Posted by shane.niebergall@lmco.com at 1/15/2008 2:36:17 PM
I have several web parts on a page, some of which provide client-side functionality (such as a google maps control). I've noticed that upon first page load, everything works great. However, as soon as I invoke a web part action such as minimizing or moving a part, those rich web parts stop worki...more >>

Help on ExpandableObjectConverter
Posted by layos at 1/15/2008 5:21:49 AM
Hi all, do someone knows how create an ExpandableObjectConvertible property for a webcontrol that behaves like the "Font" property? I'll try to explain better below. I wrote the following property: public MyExpandableType MyExpandableProp { get; } and MyExpandableType is an interna...more >>

Issue with Checkbox visible=false
Posted by icanhelp33@gmail.com at 1/14/2008 5:12:18 PM
I have a checkbox in a web form. The initial value for visible for this checkbox is false. On postback, depending on some criteria, the visible property for this checkbox becomes true. When action happens, I notice that the selected values for this checkbox arent saved. Is this a bug. Is there a...more >>

issue with delete operation on Dropdownlist selected item
Posted by Dhananjay at 1/14/2008 3:33:12 AM
Hi all, I have problem with delete functionality in a web page.First i am populating data in Dropdownlist, and on the same page i want to remove the data from same Dropdownlist with buttonDelete_Click event. First what i wanted to populate data in Dropdownlist ---> it's working fine. next,...more >>

images not showing on dev-machine
Posted by Jurjen de Groot at 1/13/2008 10:52:25 PM
I'm developping a web-app using VS2008 (Pro edition) on a Vista Ultimate machine .. For some reason images aren't shown, the only thing shown is the little square with the circel, triangle and square in it. Even if I set the ImageURL property in my Page_Load and set it to the absolute pat...more >>

how to change the value of the data in a repeater
Posted by InNeedOfAssistance at 1/12/2008 5:34:23 PM
Hi, Right now I have a repeater object that brings data back from a SQL Server database based on search criteria from the user. The data is returned correctly without problems but what I would like to do is highlight all of the words the user has specified in his search criteria. For instan...more >>

Issue with Datapager and Dictionary<x,y>
Posted by David at 1/11/2008 1:19:00 PM
I am loading data into a generic Dictionary, and using a Listview/Datapager to display the info. However, I have to click on the linked page #s twice to change to a new page. This does not occur with the same code pointed to an XML datasource. Is there some Listview/Datapager setting I need ...more >>

Constraining the number of occurrence of web part inside a webpartmanager
Posted by Oriane at 1/11/2008 11:09:32 AM
Hi there, I'm coding a Web site with Web part, and I would like each web part to appear at most once (if they appear they cannot appear twice or more) on the site. Is this possible to configure the Web part control or the web part manager for this ? Sincerely Oriane ...more >>

Change language in Calendar control
Posted by Marin at 1/10/2008 12:26:37 PM
I have some Calendar controls on my asp.net page. My computer (localhost) and my server is in Croatia, Europe. So calendar control have day in week and month caption on Croatian language. I want to set up these controls on English language. How to do that? ...more >>

SiteMapDataSource not recognizing sitemap provider
Posted by jmorgret at 1/10/2008 8:56:54 AM
In my application I am using the WebControls Menu and SiteMapDataSource. Everything works fine until... I try to add the sitemap provider to the web.config. If I don't add a provider the SiteMapDataSource finds the web.sitemap on it's own and works fine but if I add it as a provider in the we...more >>

GridView not updating table with timestamp field
Posted by Luigi at 1/9/2008 3:57:02 AM
Hi all, I'm using .NET 2.0 and I have a problem with a GridView that not update the table in the database. In that table I have a timestamp field, but I've excluded them from update statement. The code is the following: <asp:Content ID="Content" ContentPlaceHolderID="Content" runat="Serve...more >>

How to implement Font dialog webcontrol?
Posted by chandan at 1/9/2008 1:38:53 AM
How to implement Font dialog webcontrol? Microsoft doesnot provide this web control.Also ther is not enough help on net as I search. Thansk, Chandan kumar...more >>

Programmatic Click
Posted by randy.buchholz at 1/8/2008 10:37:17 AM
Am I missing something simple? I can't find a way to click a button/linkbutton from my C# code. Specifically, I am trying to fire the "New" button in a Details View to switch to insert mode. ...more >>

Programmatically Setting a GridView dataFormat String at Runtime
Posted by Brett at 1/8/2008 7:38:00 AM
I have number of decimal places in a table's column. For example Stat1 Stat1DecimalPlaces 2590 2 7356 4 8211 3 etc. I want to set the DataFormatString at runtime based on the number of decimal places. Any way to do t...more >>

[Ajax Futures]Web part and UpdatePanel
Posted by Oriane at 1/7/2008 6:37:29 PM
Hi, Working with Ajax Futures, I'm designing a Web Part including a UpdatePanel, and I expect to update its content without a postback. However this is not the case ! Referring to this post: http://forums.asp.net/p/1066700/1545256.aspx#1545256, I've placed an UpdatePanel inside my WebP...more >>

Save the state of a TreeView
Posted by Flyguy at 1/7/2008 5:09:01 AM
I have a DataSource and a TreeView that I am rebinding. When I do this the TreeView will close all of its nodes. Is there a way that I can save the state of the TreeViews nodes so that I can reapply it after the rebinding takes effect? // Save the state of treeView dataSource.DataBind();...more >>

Calendar appointments by month
Posted by ChrisC at 1/5/2008 10:57:00 PM
Hello, I would like to first state that I am an amature when it comes to programming with any language, but have always found information on here very helpful. Now I am hoping that somebody can help me get started on a new challenge. I have created a web page with a Calendar control. I...more >>

Hiding TemplatefField Columns in GridView
Posted by Brett at 1/5/2008 12:03:01 PM
How do you hide TemplateField columns in a GridView. With no ID or Name attribute, how do you tell it which column to hide? My TemplateField columns contain Header and Item templates both with asp:label controls with IDs, if that helps. Thanks...more >>

Dynamically Setting Up a Gridview Based on Data Content
Posted by Brett at 1/4/2008 8:24:06 AM
I am new at this type of task, so a quick template or even article reference would be helpful. I have an ObjectDataSource derived from and XSD type data set, with Get and Fill methods, to populate a gridview. I want to pull the data and scan it to set up the grdiview. For example: .. T...more >>

ReportViewer control LocalReport PDF Bug
Posted by andyclap at 1/4/2008 3:47:01 AM
I'm getting an exception rendering to PDF in local mode from the ReportViewer control. When there is a certain mixture of AutoSize and Fit images in a header, it seems to confuse the renderer, and throws the following exception: System.NullReferenceException: Object reference not set to an i...more >>

strange behavor on production
Posted by Trapulo at 1/3/2008 6:41:59 PM
I've an aspx page that works well in development, but has strange behavor in production. Basically, the page hides or shows some webccontrols based on an http GET parameter. this is my simple page_load event hanlder: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventA...more >>

Possible to set a UserControl's bitwise Enum value in aspx file ?
Posted by Moe Sisko at 1/3/2008 3:32:50 PM
Using dotnet 2.0. Say I have a user control like the following : public partial class Controls_MyControl : System.Web.UI.UserControl { [Flags] public enum SomeBitFlag { OptionA = 0x01, OptionB = 0x02, OptionC = 0x04, } public SomeBitFlag All...more >>

Placing control tag text in a multiline TextBox
Posted by Nathan Sokalski at 1/2/2008 9:02:21 PM
I have a multiline TextBox that I want to display the text used to create a control in an apsx file. I want each of these to be on a separate line in the TextBox. The only way I know of to place things on separate lines in a TextBox without doing it programmatically is the following: <asp:T...more >>

Asp.Net Silverlight Media and Xaml control
Posted by Oriane at 1/2/2008 4:16:55 PM
Bonjour, With Asp.Net futures (Microsoft.Web.Preview), I can't use the Media and Xaml controls (Silverlight). I've got this error messages, with several wmv files: Execution error: Microsoft JScript: Sys.Preview.UI.Xaml.Media.MediaFailedException: Unable to load media "App_Data/xxx.wm...more >>

LinkButton Click Event does not fire
Posted by Waldy at 1/2/2008 2:24:12 PM
Hi there, I have put a LinkButton on a form and double clicked it to create the Click event place holder for it, but when I run my project and click the button, the code does not run. Can anyone help me with this?. ...more >>


DevelopmentNow Blog