473,503 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

save MyControl properties

I create my personnal control name MyGrid inerit Control.Grid.
I want to add a other control, like MyGridMenu.

When I'm in desing mode if I try to modify the MyGridMenu's properties it
work but it never saved! I close the file .cs and when I reopen it the
properties is reseted...

Can someone can help me by refer me to a good sample. url . code.. maybe it
this only something a forgot to do? Maybe it's impossible?

thanks...
Jul 21 '05 #1
1 1036

"Franky" <Fr****@discussions.microsoft.com> wrote in message
news:BA**********************************@microsof t.com...
I create my personnal control name MyGrid inerit Control.Grid.
I want to add a other control, like MyGridMenu.

When I'm in desing mode if I try to modify the MyGridMenu's properties it
work but it never saved! I close the file .cs and when I reopen it the
properties is reseted...

Can someone can help me by refer me to a good sample. url . code.. maybe
it
this only something a forgot to do? Maybe it's impossible?

thanks...

There are numerous articles on user controls and composite controls in the
MSDN help, including code examples. I suggest you start there. Search on
"user control" with the filter set to ".NET Framework".

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Jul 21 '05 #2

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

Similar topics

6
3154
by: BUX | last post by:
If I try to read MyControl.text I receive Run-Time error 2185 that means about < Impossible to refer to a property or a metod if the control is not active >. But this happen only if the form...
0
837
by: Franky | last post by:
I create my personnal control name MyGrid inerit Control.Grid. I want to add a other control, like MyGridMenu. When I'm in desing mode if I try to modify the MyGridMenu's properties it work but...
3
1283
by: Mr Gordonz | last post by:
Hi All, I am reposting this because I need some guidance/advice fairly quickly. I currently have the following setup for saving a file on the server: The user runs a VB app on his/her PC. ...
0
951
by: Jhon Smith | last post by:
Hi! I have one WebControl and 2 properties... but aspnet don't save my second property value when I change first property. Thank's!! This is my code: public class myControl:...
5
3759
by: johnb41 | last post by:
Is there any difference between: myControl.Hide vs myControl.visible=false and also: myControl.Show vs myControl.visible=true They seem to do the same thing. Any tips on when to use one...
10
4088
by: Kasp | last post by:
When I try and save out a recordset from an ASP page as XML I get the following error (the code is below) - I have ADO 2.8 installed and this is running on win XP sp2 : ...
2
2117
by: John | last post by:
I have a Win app in C#. I want to save the data the user enterere into textboxes and the selections the user made to comboboxes when the user close the app. So next time when the user launches the...
8
1777
by: Eric bouxirot | last post by:
hi there, i never used XML beforre, i prefere INI files, but i want do same things with XML file format.. before i can save/read some element of INI files without the need to parse or read...
2
11847
by: Matuag | last post by:
Hi All, I want to create following command buttons on a Form which users can edit. Save ( Save Changes made) Cancel ( Undo data changes) Exit ( Close form) I am using Macros for each of...
0
7202
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,...
0
7278
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,...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7458
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...
0
5578
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,...
1
5013
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...
0
3167
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...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.