Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Web Control Loosing values when changing from design to HTML view

Reply
Thread Tools

Web Control Loosing values when changing from design to HTML view

 
 
Ziyad Makki
Guest
Posts: n/a
 
      08-02-2004
Hello,
I have created a Web Composite Control. I have also created a designer class
that is used to render the control at design time.

All though it dose work, I have been experiencing some strange behaviour
with the control. The following steps describe what I'm doing to cause the
problem.
* After dragging and dropping the control onto my page. I change some of
the properties of the control. This is done using the property window.
* Save changes
* Change the view to the HTML view. Add some html anywhere on the page.
For example put a   somewhere.
* Save changes
* Change back to Design view. All the changes that where made in the
property window have been lost.

I have also developed another web control. That seems to play up when
switching from design to html and back again... you will like this one!.
Sometimes if I switch from design to html not change anything or do
anything, the control would come up with an error "error creating control"
with no other information. I would have to switch back to HTML then back
again to design and it would be fine. Does anyone have an idea as to what
this may be?

Hope you can help

Regards
Zi


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Controls switching from Design view to HTML view causing problems Ziyad Makki ASP .Net Web Controls 1 08-23-2004 07:13 PM
Could not open Design view. Quote values differently in a '<%..."values"...%>' block. Rob Meade ASP .Net 2 08-10-2004 12:46 PM
Custom Composite Control, child User-controls loosing view state Mike J. ASP .Net Building Controls 1 11-24-2003 09:48 PM
Loosing property values; and design time rendering Mark Norgate ASP .Net Web Controls 0 08-24-2003 09:46 PM
Wierd error when going to Design View from HTML view VB Programmer ASP .Net 1 07-10-2003 03:20 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57