473,725 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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...w e 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 2839
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.goo gle.com... Dear All,
We are developing applications in ASP.Net...in one of our
applications we would like to use a GridControl...w e 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.goo gle.com... Dear All,
We are developing applications in ASP.Net...in one of our
applications we would like to use a GridControl...w e 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.goo gle.com...
Dear All,
We are developing applications in ASP.Net...in one of our
applications we would like to use a GridControl...w e 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.goo gle.com...
Dear All,
We are developing applications in ASP.Net...in one of our
applications we would like to use a GridControl...w e 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 "Infragisti cs WebGrid"...
which is a .net component....Th en 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 "Autodeploy ment 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 "Infragisti cs WebGrid"...
which is a .net component....Th en 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 "Autodeploy ment 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.goo gle.com...
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 "Infragisti cs WebGrid"...
which is a .net component....Th en 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 "Autodeploy ment 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.goo gle.com...
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 "Infragisti cs WebGrid"...
which is a .net component....Th en 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 "Autodeploy ment 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
7639
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 business components that can be consumed by WebForms, WinForms, mobile devices, etc? Is it even fair to compare the such technologies? - How about for cases when you need to display dynamic elements on the form/grid (as compared to knowing data elements...
0
396
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 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...
3
22854
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 to do it, if any sample is provided will be of great help Thanks EJ
7
5152
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 If TypeOf ctrl Is CheckBox Then 'do something here.....
4
1487
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 and take all of the mouse and key events from Form1 and pass those on to Form2, thus changing the graphical output on Form2 and then pasting those graphical changes back to Form1? Is this some kind of P/Invoke job?
3
1890
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. Is this possible in a WINFORM in vb.net 2003 ?
11
11761
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 in the validated event. Is there a way to know if all validated controls pass validation when the user clicks an OK button? In ASP.Net there's the Page.IsValid method. Is there something similar in winforms, or do I still have to write an...
6
2852
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: http://www.telerik.com/products/aspnet-ajax/overview.aspx The same goes for Devexpress. I'm thinking of purchasing their ASPxScheduler Stuite. Any experience with their products? Are they solid and good performance? Link: ...
1
2062
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
8888
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9113
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8097
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2635
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.