Fluid server control via javascript
Fluid server control via javascript
Fluid server control via javascript
Fluid server control via javascript
Fluid server control via javascript
Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript
Fluid server control via javascript Fluid server control via javascript
Fluid server control via javascript
Go Back  Xtreme Visual Basic Talk > > > Fluid server control via javascript


Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2008, 01:32 PM
DoughBoy DoughBoy is offline
Centurion
 
Join Date: Jun 2006
Posts: 196
Default Fluid server control via javascript


I created a server control to automatically house a bunch of objects within a <div> tag. Everything is explicitly measured and calculated to be at certain locations. But I've just stumbled into a desired trait of my control, being able to change dimensions on the fly from javascript. The problem with this is that even though the server control's dimensions are resized, the server control would need to re-calculate all of it's objects' positions.

Any ideas on how to achieve this?

Some thoughts are to post back to the server the need to recalculate the server control and through AJAX redefine the control. Another thought is to convert the server control to a javascript object and through javascript properties re-define the control.

... Either way, I'm not too sure of the proper solution. Can anyone suggest the best route in having a server control be able to redraw itself dynamically?

Thanks in advanced to all for their help.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Fluid server control via javascript
Fluid server control via javascript
Fluid server control via javascript Fluid server control via javascript
Fluid server control via javascript
Fluid server control via javascript
Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript Fluid server control via javascript
Fluid server control via javascript
Fluid server control via javascript
 
Fluid server control via javascript
Fluid server control via javascript
 
-->