473,386 Members | 1,819 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,386 software developers and data experts.

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 1035

"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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
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...

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.