473,325 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Using WinForm Controls in WebForms (Grid Control)

Dear All,
We are developing applications in ASP.Net...in one of our
applications we would like to use a GridControl...we have tried to use
a Server-Side Grid control but found the speed to be an issue...also
our clients would like to use a lot of client side events like
sorting, searching text, save each row on tab out of a row, use the
auto correct feature...
after intial r&d we feel that using a Grid Control in WinForms would
be a better option...we have seen samples of how to use a WinForm
control in aspx pages...we would like to know the following:
1. Is this the right option?
2. What are the draw-backs in using this logic?
3. Will MS enhance their support in this technology (read an
article that says you can pass command line parameters to a winform
control)
4. Other than .Net run-time that needs to be installed on the
client, is there some other dlls too that need to be installed?
5. Can I use more than one WinForm Control in a single WinForm?

We are looking into this option because the control will use the
client machine's power to drive itself.

Please let us know...

TALIA
Many Regards
Sunil
Nov 17 '05 #1
8 2803
Hi,
1. Is this the right option?
If the client is happy to have the Framework installed on the client
machines, than probably yes. At least Microsoft introduced such an option
for a good reason.
2. What are the draw-backs in using this logic?
a) The WinForms DataGrid is not so simple you seem to think of it.
b) Such a control will be run under tight security restrictions
c) This will limit your solution to IE6+ on the client side
3. Will MS enhance their support in this technology
Let somebody from Microsoft answer this :-)
4. Other than .Net run-time that needs to be installed on the
client, is there some other dlls too that need to be installed?
Depends on what will actually be used in the control developed. If you
employ P/Invoke, watch out. If you employ 3rd party libraries, watch out
too. If not, the Framework itself should be enough.
5. Can I use more than one WinForm Control in a single WinForm?
Absolutely yes. More than that, you can combine granular user controls to
build composite user controls.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Sunil Menon" <su***@itb-india.com> wrote in message
news:de**************************@posting.google.c om... Dear All,
We are developing applications in ASP.Net...in one of our
applications we would like to use a GridControl...we have tried to use
a Server-Side Grid control but found the speed to be an issue...also
our clients would like to use a lot of client side events like
sorting, searching text, save each row on tab out of a row, use the
auto correct feature...
after intial r&d we feel that using a Grid Control in WinForms would
be a better option...we have seen samples of how to use a WinForm
control in aspx pages...we would like to know the following:
1. Is this the right option?
2. What are the draw-backs in using this logic?
3. Will MS enhance their support in this technology (read an
article that says you can pass command line parameters to a winform
control)
4. Other than .Net run-time that needs to be installed on the
client, is there some other dlls too that need to be installed?
5. Can I use more than one WinForm Control in a single WinForm?

We are looking into this option because the control will use the
client machine's power to drive itself.

Please let us know...

TALIA
Many Regards
Sunil


Nov 17 '05 #2
Hi,
1. Is this the right option?
If the client is happy to have the Framework installed on the client
machines, than probably yes. At least Microsoft introduced such an option
for a good reason.
2. What are the draw-backs in using this logic?
a) The WinForms DataGrid is not so simple you seem to think of it.
b) Such a control will be run under tight security restrictions
c) This will limit your solution to IE6+ on the client side
3. Will MS enhance their support in this technology
Let somebody from Microsoft answer this :-)
4. Other than .Net run-time that needs to be installed on the
client, is there some other dlls too that need to be installed?
Depends on what will actually be used in the control developed. If you
employ P/Invoke, watch out. If you employ 3rd party libraries, watch out
too. If not, the Framework itself should be enough.
5. Can I use more than one WinForm Control in a single WinForm?
Absolutely yes. More than that, you can combine granular user controls to
build composite user controls.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Sunil Menon" <su***@itb-india.com> wrote in message
news:de**************************@posting.google.c om... Dear All,
We are developing applications in ASP.Net...in one of our
applications we would like to use a GridControl...we have tried to use
a Server-Side Grid control but found the speed to be an issue...also
our clients would like to use a lot of client side events like
sorting, searching text, save each row on tab out of a row, use the
auto correct feature...
after intial r&d we feel that using a Grid Control in WinForms would
be a better option...we have seen samples of how to use a WinForm
control in aspx pages...we would like to know the following:
1. Is this the right option?
2. What are the draw-backs in using this logic?
3. Will MS enhance their support in this technology (read an
article that says you can pass command line parameters to a winform
control)
4. Other than .Net run-time that needs to be installed on the
client, is there some other dlls too that need to be installed?
5. Can I use more than one WinForm Control in a single WinForm?

We are looking into this option because the control will use the
client machine's power to drive itself.

Please let us know...

TALIA
Many Regards
Sunil


Nov 17 '05 #3
Sunil,
This is a great method. As i see u have listed down most of the concerns
down.

1.Also note the framework keeps getting updated. IE and mdac also need to be
there.

2.Other than that if u are accessing system.net or opening db connections u
would have to adjust the .net security to grant max trust for that assy or
all assy's signed with a key.

3. The technology has got great support from MS. In framwork 1.1 they are
openly talking about it. I have used it and its stable.

4. Easy to debug unlike activex.

5. You can use as many winform control in a webcorm.

Last but not least if you are planning to use these controls why not have
look at Autodeployment and SmartClients. These are winform apps deployed off
the web and offers much more user experience than a web will ever have.
"Sunil Menon" <su***@itb-india.com> wrote in message
news:de**************************@posting.google.c om...
Dear All,
We are developing applications in ASP.Net...in one of our
applications we would like to use a GridControl...we have tried to use
a Server-Side Grid control but found the speed to be an issue...also
our clients would like to use a lot of client side events like
sorting, searching text, save each row on tab out of a row, use the
auto correct feature...
after intial r&d we feel that using a Grid Control in WinForms would
be a better option...we have seen samples of how to use a WinForm
control in aspx pages...we would like to know the following:
1. Is this the right option?
2. What are the draw-backs in using this logic?
3. Will MS enhance their support in this technology (read an
article that says you can pass command line parameters to a winform
control)
4. Other than .Net run-time that needs to be installed on the
client, is there some other dlls too that need to be installed?
5. Can I use more than one WinForm Control in a single WinForm?

We are looking into this option because the control will use the
client machine's power to drive itself.

Please let us know...

TALIA
Many Regards
Sunil

Nov 17 '05 #4
Sunil,
This is a great method. As i see u have listed down most of the concerns
down.

1.Also note the framework keeps getting updated. IE and mdac also need to be
there.

2.Other than that if u are accessing system.net or opening db connections u
would have to adjust the .net security to grant max trust for that assy or
all assy's signed with a key.

3. The technology has got great support from MS. In framwork 1.1 they are
openly talking about it. I have used it and its stable.

4. Easy to debug unlike activex.

5. You can use as many winform control in a webcorm.

Last but not least if you are planning to use these controls why not have
look at Autodeployment and SmartClients. These are winform apps deployed off
the web and offers much more user experience than a web will ever have.
"Sunil Menon" <su***@itb-india.com> wrote in message
news:de**************************@posting.google.c om...
Dear All,
We are developing applications in ASP.Net...in one of our
applications we would like to use a GridControl...we have tried to use
a Server-Side Grid control but found the speed to be an issue...also
our clients would like to use a lot of client side events like
sorting, searching text, save each row on tab out of a row, use the
auto correct feature...
after intial r&d we feel that using a Grid Control in WinForms would
be a better option...we have seen samples of how to use a WinForm
control in aspx pages...we would like to know the following:
1. Is this the right option?
2. What are the draw-backs in using this logic?
3. Will MS enhance their support in this technology (read an
article that says you can pass command line parameters to a winform
control)
4. Other than .Net run-time that needs to be installed on the
client, is there some other dlls too that need to be installed?
5. Can I use more than one WinForm Control in a single WinForm?

We are looking into this option because the control will use the
client machine's power to drive itself.

Please let us know...

TALIA
Many Regards
Sunil

Nov 17 '05 #5
Dear Rajesh, Dmitriy,
Thanks for taking time to reply to my mail...

a) The WinForms DataGrid is not so simple you seem to think of it.
b) Such a control will be run under tight security restrictions
c) This will limit your solution to IE6+ on the client side

Depends on what will actually be used in the control developed. If you
employ P/Invoke, watch out. If you employ 3rd party libraries, watch
out
too. If not, the Framework itself should be enough.

I am planning to use a Third party control "Infragistics WebGrid"...
which is a .net component....Then do I have to create a cab file for
this control to be downloaded on the client machine?? I realise that
there will be licensin issues involved...
This means that I will have to use the Grid provided by MS. Is this
good enough?
Also I feel I will not be able to call Win32 functions from WinForms
that are run in the browser...

Rajesh: Could you please post the URL regarding "Autodeployment and
SmartClients"? It will be really nice if you could do that.

Thanks to everyone for replying to my mail...

Many Regards
Sunil
Nov 17 '05 #6
Dear Rajesh, Dmitriy,
Thanks for taking time to reply to my mail...

a) The WinForms DataGrid is not so simple you seem to think of it.
b) Such a control will be run under tight security restrictions
c) This will limit your solution to IE6+ on the client side

Depends on what will actually be used in the control developed. If you
employ P/Invoke, watch out. If you employ 3rd party libraries, watch
out
too. If not, the Framework itself should be enough.

I am planning to use a Third party control "Infragistics WebGrid"...
which is a .net component....Then do I have to create a cab file for
this control to be downloaded on the client machine?? I realise that
there will be licensin issues involved...
This means that I will have to use the Grid provided by MS. Is this
good enough?
Also I feel I will not be able to call Win32 functions from WinForms
that are run in the browser...

Rajesh: Could you please post the URL regarding "Autodeployment and
SmartClients"? It will be really nice if you could do that.

Thanks to everyone for replying to my mail...

Many Regards
Sunil
Nov 17 '05 #7
1.
http://msdn.microsoft.com/code/defau...xml&frame=true

2.
http://msdn.microsoft.com/library/de...et10142001.asp

3.
http://msdn.microsoft.com/library/de...l/openhack.asp

You could find more about notouch searching for .net smartclient and no
touch deployment.

Also dbnetgrid.com is better than infragistics, i mean much much better. To
get it up and running it hardly takes time. Infragistics takes a lot of code
and has a lot of bugs in sorting and paging. For such a component, u wud
have to buy, min $500 and no cab files are required. It will have to be
installed in the webserver and ofcourse referred in your project.
"Sunil Menon" <su***@itb-india.com> wrote in message
news:de**************************@posting.google.c om...
Dear Rajesh, Dmitriy,
Thanks for taking time to reply to my mail...

a) The WinForms DataGrid is not so simple you seem to think of it.
b) Such a control will be run under tight security restrictions
c) This will limit your solution to IE6+ on the client side

Depends on what will actually be used in the control developed. If you
employ P/Invoke, watch out. If you employ 3rd party libraries, watch
out
too. If not, the Framework itself should be enough.

I am planning to use a Third party control "Infragistics WebGrid"...
which is a .net component....Then do I have to create a cab file for
this control to be downloaded on the client machine?? I realise that
there will be licensin issues involved...
This means that I will have to use the Grid provided by MS. Is this
good enough?
Also I feel I will not be able to call Win32 functions from WinForms
that are run in the browser...

Rajesh: Could you please post the URL regarding "Autodeployment and
SmartClients"? It will be really nice if you could do that.

Thanks to everyone for replying to my mail...

Many Regards
Sunil

Nov 17 '05 #8
1.
http://msdn.microsoft.com/code/defau...xml&frame=true

2.
http://msdn.microsoft.com/library/de...et10142001.asp

3.
http://msdn.microsoft.com/library/de...l/openhack.asp

You could find more about notouch searching for .net smartclient and no
touch deployment.

Also dbnetgrid.com is better than infragistics, i mean much much better. To
get it up and running it hardly takes time. Infragistics takes a lot of code
and has a lot of bugs in sorting and paging. For such a component, u wud
have to buy, min $500 and no cab files are required. It will have to be
installed in the webserver and ofcourse referred in your project.
"Sunil Menon" <su***@itb-india.com> wrote in message
news:de**************************@posting.google.c om...
Dear Rajesh, Dmitriy,
Thanks for taking time to reply to my mail...

a) The WinForms DataGrid is not so simple you seem to think of it.
b) Such a control will be run under tight security restrictions
c) This will limit your solution to IE6+ on the client side

Depends on what will actually be used in the control developed. If you
employ P/Invoke, watch out. If you employ 3rd party libraries, watch
out
too. If not, the Framework itself should be enough.

I am planning to use a Third party control "Infragistics WebGrid"...
which is a .net component....Then do I have to create a cab file for
this control to be downloaded on the client machine?? I realise that
there will be licensin issues involved...
This means that I will have to use the Grid provided by MS. Is this
good enough?
Also I feel I will not be able to call Win32 functions from WinForms
that are run in the browser...

Rajesh: Could you please post the URL regarding "Autodeployment and
SmartClients"? It will be really nice if you could do that.

Thanks to everyone for replying to my mail...

Many Regards
Sunil

Nov 17 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Fred | last post by:
Not much expertise on XSLT and trying to understand it's uses when creating apps in VS.NET? If I wanted flexibility on the UI (View aspect of M.V.C.): - How does it compare with creating...
0
by: Sunil Menon | last post by:
Dear All, We are developing applications in ASP.Net...in one of our applications we would like to use a GridControl...we have tried to use a Server-Side Grid control but found the speed to be an...
3
by: EJ1003 | last post by:
Hello I would like to create Activex Control uisng C# and use it in ASP.Net webform. User Control is not solving my requirement so I am going for Activex Control. Please guide me on this, how...
7
by: astro | last post by:
I am not farmilar with the object model for webforms. I want to loop through the web form controls - pulling out the checkboxes on the form like the following: For Each ctrl In Me.Controls ...
4
by: Simon Tamman {Uchiha Jax} | last post by:
Scenario: Two System.Windows.Forms: Form1 and Form2. Form1 is displayed, Form2 is hidden. At this juncture, is it possible to take the graphics from Form2 and output that to Form1's display...
3
by: Gordon | last post by:
Hi; Can you add a column of button controls to a winform datagrid ? I have a form with three independant grids. I would like to add buttons i.e. update, add buttons at the end of each row....
11
by: jjbutera | last post by:
I know how to use the ErrorProvider in my winforms..or do I? I validate the values and set the ErrorProvider in the validating event. If not valid, I set e.Cancel = True. I clear the ErrorProvider...
6
by: Cirene | last post by:
Im thinking about purchasing the RadControls for ASP.NET AJAX, by Telerik. Any advice, suggestions, or opinions? What has been your experience? Link: ...
1
by: sai dev | last post by:
Hi, I am facing problem in following scenario for WinForm Data Grid. Scenario --------- -- DepartNumber DepartmentName + 10 HR + 20 Sales
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.