Home All Groups Group Topic Archive Search About

Server Explorer Components?

Author
3 Nov 2006 1:38 AM
ARTMIC
Hello, how can i change the default controls that appear on a webform when i
drag a table or field from the Server Explorer?

I have some 3rd party components that i wish to use instead of the default
grids/edits that VS2005 ships with...

So if i select a table in the server exploerer window and drag it to the
form, i want an infragistics grid to appear instead of the default grid.
Can anyone help me with this?
THanks,

Author
4 Nov 2006 2:52 AM
RobinS
This is how I do it in Windows forms apps; I don't know if it will work in
webforms, but it's free to try it while waiting for somebody else to answer
your question.

Select the form you want to use, display it in Design mode.

Set up a data source (Data/AddNewDataSource) that points to the data you
want.

Then in the Data Source window, you can click on each field and pick the
control you want to use to display it.  From there, you can choose
Customize, which should let you go find the one you want to use.

THEN drag the fields onto the form. Of course, I'm assuming you want to use
data binding to display the data. This will add a binding source for the
data you've selected.

If this doesn't work, then never mind.  ;-)

Robin S.


Show quote
"ARTMIC" <ART***@discussions.microsoft.com> wrote in message
news:FF83A655-DADE-4DED-BC1C-8BFB480FBE5C@microsoft.com...
> Hello, how can i change the default controls that appear on a webform when
> i
> drag a table or field from the Server Explorer?
>
> I have some 3rd party components that i wish to use instead of the default
> grids/edits that VS2005 ships with...
>
> So if i select a table in the server exploerer window and drag it to the
> form, i want an infragistics grid to appear instead of the default grid.
> Can anyone help me with this?
> THanks,
>
Author
4 Nov 2006 4:23 PM
ARTMIC
Thanks for the Info Robin, i guess there is no such functionality with the
web design part in Visual Studio 2005, i can do that with normal Window
Forms, but as soon as i go into the Asp.Net world that functionality
disapears.

Show quote
"RobinS" wrote:

> This is how I do it in Windows forms apps; I don't know if it will work in
> webforms, but it's free to try it while waiting for somebody else to answer
> your question.
>
> Select the form you want to use, display it in Design mode.
>
> Set up a data source (Data/AddNewDataSource) that points to the data you
> want.
>
> Then in the Data Source window, you can click on each field and pick the
> control you want to use to display it.  From there, you can choose
> Customize, which should let you go find the one you want to use.
>
> THEN drag the fields onto the form. Of course, I'm assuming you want to use
> data binding to display the data. This will add a binding source for the
> data you've selected.
>
> If this doesn't work, then never mind.  ;-)
>
> Robin S.
>
>
> "ARTMIC" <ART***@discussions.microsoft.com> wrote in message
> news:FF83A655-DADE-4DED-BC1C-8BFB480FBE5C@microsoft.com...
> > Hello, how can i change the default controls that appear on a webform when
> > i
> > drag a table or field from the Server Explorer?
> >
> > I have some 3rd party components that i wish to use instead of the default
> > grids/edits that VS2005 ships with...
> >
> > So if i select a table in the server exploerer window and drag it to the
> > form, i want an infragistics grid to appear instead of the default grid.
> > Can anyone help me with this?
> > THanks,
> >
>
>
>

AddThis Social Bookmark Button