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


all groups > asp.net webcontrols > recent posts

Re: Convert integervalues to booleans with checkboxfield ( in datagrid )
Posted by Stan at 4/24/2008 4:05:13 PM
On 18 Apr, 13:31, Tommy DN <tommy...@gmail.com> wrote: > I'm using a datagrid wich uses a dataset.table as datasource. > One field is a integerfield with 1 and 0 > > Is there a possibility to bind this with a checkboxfield ( using > inheritance for example ? ). > When it's a 0, the checkbox fo...more >>

Re: How to use AppSettings with Custom Control
Posted by Madhur at 4/24/2008 12:00:00 AM
If the webcontrol is hosted inside webapplication, there is no reason why the webcontrol cannot access those appsettings directly. -- Madhur "Seth Williams" <sm@here.com> wrote in message news:e8S6SmYpIHA.5080@TK2MSFTNGP05.phx.gbl... > I've built a custom control -- now I need to retrie...more >>

Panel Border question
Posted by EricW at 4/23/2008 10:53:28 PM
Hi, I want to place a div or panel on my page that has a text in it which is also a hyperlink. So it looks like a button but isn't really. I don't want to see the button-pressed-state on screen. The panel I want to have dotted lines around it. If I use de border part in the stylesheet an...more >>

How to use AppSettings with Custom Control
Posted by Seth Williams at 4/23/2008 4:32:19 PM
I've built a custom control -- now I need to retrieve a setting in the AppSetings section of the Web.config of the current web app using my custom control. How can I access the Web.config file for something like this? ...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/23/2008 12:00:57 PM
Hello, I think you finally hit on what I needed. Thanks a lot. I have some user controls that I want to refer to some public arrays, without having to instantiate a new version of them each time. This class: Imports Microsoft.VisualBasic Public Class Try2 Public Shared ihope As St...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/23/2008 11:11:06 AM
Thanks for this tip. Scott "Stan" <google@philphall.me.uk> wrote in message news:f1447a6c-539a-4f1b-baf9-d3517f431485@f63g2000hsf.googlegroups.com... > Hello again: > > I've just spotted the mistake. > > Your class declaration needs to have the "public" attribute as well > thus: > > Pu...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/23/2008 11:10:29 AM
Thanks. I'll try what you have said. Scott "Stan" <google@philphall.me.uk> wrote in message news:67adfbad-2593-4ff2-a63d-60ef6276c944@l42g2000hsc.googlegroups.com... On 22 Apr, 21:03, "Web Search Store" <i...@websearchstore.com> wrote: > Hello, > > Sorry to be so dense. I have been read...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Juan T. Llibre at 4/22/2008 7:25:44 PM
Please follow this walkthrough for using Properties in Class files: http://msdn2.microsoft.com/en-us/library/we4hy2z9.aspx You don't need to reference the Class file(s). Make sure you use inline code for that example, whether C# or VB.NET. There's special rules for using classes in code-be...more >>



Re: is there a way to refer to public properties in other user controls
Posted by Stan at 4/22/2008 4:41:16 PM
Hello again: I've just spotted the mistake. Your class declaration needs to have the "public" attribute as well thus: Public Class allofthem .... Stan (P.S. the attribute "Partial" is to allow Class code to be spread over more than one file.)...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Stan at 4/22/2008 4:35:26 PM
On 22 Apr, 21:03, "Web Search Store" <i...@websearchstore.com> wrote: > Hello, > > Sorry to be so dense. =A0I have been reading about the App_code folder and= > trying to put a class in there with a global variable. > > Here's what I have: > > in a file globals.vb: > > Partial Class allo...more >>

Re: DataGrid hidden custom value
Posted by Mike Gleason jr Couturier at 4/22/2008 2:49:14 PM
"colin_nz via DotNetMonster.com" <u42378@uwe> a écrit dans le message de news: 82dc05490b75f@uwe... > If you look up GridView.SelectedDataKey Property, that may be useful in > your > situation > > -- > Message posted via DotNetMonster.com > http://www.dotnetmonster.com/Uwe/Forums.aspx/a...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/22/2008 1:03:17 PM
Hello, Sorry to be so dense. I have been reading about the App_code folder and trying to put a class in there with a global variable. Here's what I have: in a file globals.vb: Partial Class allofthem Public ccc As String = "howdy" End Class Then, I rightclicked the projec...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/22/2008 12:23:22 PM
Thank you for that insight. I'll try putting a class in the app_code folder and see if I can get what I want. I'm fully aware that classic .asp is a totally different story. I'm just trying to accomplish what I used to be able to do there. Anyway. I'll give it a try. Thanks. Sco...more >>

Multiselect DropDownList with CheckBoxes
Posted by smithtap@yahoo.com at 4/22/2008 6:12:47 AM
Hello, Has anyone any samples how to code a Multiselect DropDownlist using CheckBoxes in ASP.NET 2.0 or above using C#? Or are there any other Open Source projects than CodeGuru's which does not support FireFox. Cheers,...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Stan at 4/22/2008 1:40:56 AM
On 21 Apr, 20:21, "Web Search Store" <i...@websearchstore.com> wrote: > Hello, > > I set up a web page with 2 user controls. > > In classic asp, the first one did all the declarations, and the second one= > used the values, and could reset it. > > In ASP.Net so far I can't see how to relat...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Teemu Keiski at 4/21/2008 11:14:02 PM
Using @reference directive (http://msdn2.microsoft.com/en-us/library/w70c655a(VS.80).aspx) makes the UCs type accessible, although not 100% sure how it would behave in this situation as they'd (UCs) need to reference each other but you can try. -- Teemu Keiski AspInsider, ASP.NET MVP ht...more >>

Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/21/2008 1:42:24 PM
Thanks a lot. I'll read it. Scott "Teemu Keiski" <joteke@aspalliance.com> wrote in message news:%23SQMCx%23oIHA.4620@TK2MSFTNGP06.phx.gbl... > Using @reference directive > (http://msdn2.microsoft.com/en-us/library/w70c655a(VS.80).aspx) makes the > UCs type accessible, although not 100%...more >>

is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/21/2008 12:21:24 PM
Hello, I set up a web page with 2 user controls. In classic asp, the first one did all the declarations, and the second one used the values, and could reset it. In ASP.Net so far I can't see how to relate them so this will work. This user control defines the properties: <%@ Cont...more >>

Re: ASP V2, Membership Beginner Question
Posted by Stan at 4/21/2008 5:45:54 AM
On 20 Apr, 12:41, "Roger Stenson" <ro...@stensons.org.uk> wrote: > Hi all > I have set off using the Create User and Login Control. > When I look at the Membership Table the UserID =A0has a =A0default format = of > Unique > Identifier and the data value looks nothing like the values I keyed in...more >>

ASP V2, Membership Beginner Question
Posted by Roger Stenson at 4/20/2008 12:41:52 PM
Hi all I have set off using the Create User and Login Control. When I look at the Membership Table the UserID has a default format of Unique Identifier and the data value looks nothing like the values I keyed in. How does the Login control in which the User Name as been entered relate tot ...more >>

PagerStyle - Horizontal Align?
Posted by SpaceMarine at 4/20/2008 8:57:38 AM
hello, is there a way to left-align the DataGrid's numeric paging thing? currently it shows the prev/next links for on the right-side of the grid table, which is problematic for very long grids that scroll off the page. i have tried setting the HorizontalAlign="left" property on the PagerS...more >>

Re: How to use ASP.NET validators
Posted by wisccal@googlemail.com at 4/20/2008 1:37:43 AM
Hi Madhur, In the code you posted, you call AddControls() on every postback, so, if that is correct, I don't see any problem with Validators not being present. It is true that, if you dynamically create controls, you need to recreate them on every postback, as ASP won't do that for you. The...more >>

Re: Using FormView for multiple inserts.
Posted by £ukasz_Ledóchowski at 4/19/2008 9:48:27 PM
£ukasz Ledóchowski wrote: > Hi! > > I want to insert data from InsertItemTemplate four timer to database, > but the first time I use InsertItem method, it clears data in > FormView. What can I do be able to call InsertItem more than once? ItemInserted event has parameter KeepInInsertMode...more >>

RE: Setting ReportViewer Chart properties programaticaly
Posted by jonefer at 4/19/2008 2:50:00 PM
Does anyone have an answer to this? - This deals with the ReportViewer-- Am I in the wrong Subject? "jonefer" wrote: > I have a chart title as well as a discriptor for the chart title that will > change based on the data month to month I'd like to have the chart > dynamicaly read that ...more >>

How can I speed up producing repeated controls?
Posted by jonefer at 4/19/2008 2:48:01 PM
Once you get the knack of creating a report with charts using the report viewer, it seems easy to predict how long it will take you to do several pages full, especially if they are all based on the same dataset, but only a different slice of it. It becomes heart wrenching, however, when a c...more >>

Re: How to use ASP.NET validators
Posted by Madhur at 4/19/2008 2:15:40 PM
"Hans Kesting" <invalid.hansdk@spamgourmet.com> wrote in message news:mn.94117d8439031378.82533@spamgourmet.com... > Madhur used his keyboard to write : >> Hello All >> >> I am learning how to use ASP.NET Validators and would appreciate if >> someone could provide me with guidance. >> >>...more >>

Re: How to use ASP.NET validators
Posted by Hans Kesting at 4/18/2008 5:21:04 PM
Madhur used his keyboard to write : > Hello All > > I am learning how to use ASP.NET Validators and would appreciate if someone > could provide me with guidance. > > I have written very simple ASPX page below with a Dropdown list, a button. > If a value of 3 is selected inside dropdown lis...more >>

Re: DataGrid hidden custom value
Posted by colin_nz via DotNetMonster.com at 4/18/2008 11:19:56 AM
If you look up GridView.SelectedDataKey Property, that may be useful in your situation -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net-web-controls/200804/1 ...more >>

Convert integervalues to booleans with checkboxfield ( in datagrid )
Posted by Tommy DN at 4/18/2008 5:31:56 AM
I'm using a datagrid wich uses a dataset.table as datasource. One field is a integerfield with 1 and 0 Is there a possibility to bind this with a checkboxfield ( using inheritance for example ? ). When it's a 0, the checkbox for the cell must be checked and when it's a 1 it must be unchecked....more >>

RE: Filtering data in the ReportViewer using a drop down control
Posted by stcheng@online.microsoft.com at 4/18/2008 1:20:13 AM
Thanks for your followup and the sincere comments. For the subreport error handling, I also suggest you submit it to our feedback center so that the DEV team can also get more on this: https://connect.microsoft.com/feedback/default.aspx?SiteID=210&wa=wsignin1.0 Sincerely, Steven Cheng ...more >>


DevelopmentNow Blog