CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/25/2007 8:28:09 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 184 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
XIII
Asp.Net User
Edit databindings of user control4/25/2007 8:28:09 AM

0/0

Hi,

I'm using a user control that has a custom writeonly property to pass in some data. At the moment I placed it in inside a templatefield of a detailsview and successfully pass in the data like this:

 

<asp:TemplateField>
    <ItemTemplate>
        <uc1:UCFirma ID="UCFirma1" runat="server" BtwNummer='<%# Eval("BegunstigdeFirma") %>' />
    </ItemTemplate>
</asp:TemplateField>
However when I click the smart tag of the user control which shows me Usercontrol tasks  and choose Edit databindings only the Visible property's showing up. I thought that adding the <Bindable(true)> would show it up in that list but apparently not. Is it somehow possible to add it to the list so my coworkers can also use it very easily in a wysiwyg way of coding?

Grz, Kris.


Kris van der Mast [MVP] || 101 LINQ to SQL samples
XIII
Asp.Net User
Re: Edit databindings of user control4/30/2007 12:03:07 PM

0/0

Hi,

does someone know an answer for this one?

Grz, Kris.


Kris van der Mast [MVP] || 101 LINQ to SQL samples
vcsjones
Asp.Net User
Re: Edit databindings of user control4/30/2007 3:14:37 PM

0/0

I think you need to have the BrowsableAttribute on your property you are binding to as well. I can understand that having the Browsable attribute on a write only property might be weird though.


Cheers,
       Kevin Jones


3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Beginning ASP.NET 2.0 Databases: Beta Preview Authors: John Kauffman, Thiru Thangarathinam, Pages: 427, Published: 2005
Beginning Visual Web Programming in VB .NET: From Novice to Professional Authors: Daniel Cazzulino, Craig Bowes, Victor Garcia Aprea, Mike Clark, James Greenwood, Chris Hart, Pages: 648, Published: 2005
Visual Basic .NET Power Coding Authors: Paul Kimmel, Pages: 708, Published: 2004
Beginning Visual Basic 2005 Authors: Thearon Willis, Bryan Newsome, Pages: 799, Published: 2006
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
The Book of Visual Basic 2005: .NET Insight for Classic VB Developers Authors: Matthew MacDonald, Pages: 490, Published: 2006
Pro .NET 2.0 Windows Forms and Custom Controls in C#: From Professional to Expert Authors: Matthew MacDonald, Pages: 1037, Published: 2005
Expert C# 2005 Business Objects Authors: Rockford Lhotka, Pages: 668, Published: 2006

Web:
Edit databindings of user control - ng.asp-net-forum ... Edit databindings of user control, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005, Date: 4/25/2007 8:28:09 AM, Replies: 2, ...
Databinding to user control - bytes The custom user control is bound to the data set object and displays ..... to be notified that the data in the control is being edit[/color] ...
User Control Databindings don't work property to expose the internal textbox DataBindings to UserControl level. I can successfully change the textbox display with the code ...
Walkthrough: Creating a User Control that Supports Simple Data Binding Creating controls that support more complex data-binding scenarios. For more information, see Walkthrough: Creating a User Control that Supports Complex ...
data binding a datagrid in a UserControl Talk about data binding a datagrid in a UserControl. ... fine, but entering edit mode just gives a blank datagrid. If i remove the if(! ...
Databinding to a web user control's property in ASP.NET : ASP.NET ... Sep 12, 2008 ... I have a gridview on an ASP.NET page, it's bound to a sql data source and displaying data. That's working. I've added a few command link and ...
windowsforms User Control Databindings don't work I have writen a sample project, which uses your pasted TextBox1_Binding property to expose the internal textbox DataBindings to UserControl ...
Databinding in user control hierarchies - anyone a: msg#00136 ... it into the user control that is the editor for the EntityObject. In ... get the clue why databinding fails on the inner user control. ...
How to DataBind a UserControl with ComboBox? and I would like to be able to DataBind to the UserControl and hook up to .... the contents of this method with the code editor. ...
Tutorials : The Official Microsoft Silverlight Site Dec 22, 2008 ... Here is the code for all the controls leaving question marks where we need to do the databinding.




Search This Site:










need equivilant to request("server_name") in application_onstart

link aspx-site to a html.site

crystal reports free to distribute?

application for tracking working hours

hiding a console application window

<authentication>-tag in web.config of a subfolder

javascript and asp...

microsoft security bulletin ms03-020

string to control.clientid

how to quickly master .net 2.0?

command line problems in xp professional

using fileupload just to get file name for db?

how i can start

response.redirect

assign new tag web.config in asp.net 2.0

placing html

is there an open source or template customer maintenance program available?

hi. clear my doubt

web service

float format validation

asp.net classes

how to generate a pie chart with asp?

communication between iframes

loginstatus control

cannot convert sql image to byte[]

session variable lost

newsletter

how to capture "enter" in the multiline textbox ?

export to excel

please help = i'm desparate

  Privacy | Contact Us
All Times Are GMT