Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DataGrid paging and so on
Previous Previous
 
Next Next
New Post 2/1/2006 1:51 PM
User is offline cent_usr
88 posts
10th Ranked


DataGrid paging and so on 
Modified By cent_usr  on 2/1/2006 5:01:01 PM)

Is there anyone who implemented ClientAPI paging in DNN with a datagrid? Trying to accomplish something as they have made over att CS (http://communityserver.org/blogs/default.aspx) look at the right hand webparts "Most Comments" and "Most Viewed" and use the paging to see the AJAX feature.

/Rob

 
New Post 2/1/2006 2:02 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: DataGrid pageing and so on 

Not that I am aware of, though this would not be hard to implement from the control perspective...  Seems like a useful candidate for the DotNetNuke WebControls project...   so many cool controls to develop and so little time...

If anyone is interested in learning about control development this may be a good sample to try and create.  I would suggest taking one of the existing DNNControls like the DNNTextSuggest one and tweaking it to do the paging...  If you decide to tinker and want to contribute to the DNN web control project I will be happy to assist:)


 
New Post 2/1/2006 2:28 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: DataGrid pageing and so on 

After thinking on this a little more it reminded me of a simple control I was meaning to write that is similar.  I was considering writing a control that does the min/max capability.  Where the contents of the maximized control are not initially rendered until the user expands it...   This would probably be where I would start.  Once I finished that I would move on to a little more complicated control that does the page numbers...  in essence they are the same thing, only that the paging control has more than one "expand" button, that happens to collapse all other expand buttons when clicked.  Wheter or not I would make one control out of it or two is another question...

For me I need to decide if I should tackle the DNNMenu or knock out some of these simple controls first...  I am currently spending way too much time on the ASP.NET 2.0 Menu Navigation provider...


 
New Post 2/1/2006 2:34 PM
User is offline cent_usr
88 posts
10th Ranked


Re: DataGrid pageing and so on 

I will take a deeper look into this tomorrow. I have made some progress integrating a derived class of datagrid with the ClientAPI, however I have not find a way yet to make all code totally dynamic. And it's a little tricky what logic I need to do in the RaiseClientAPICallbackEvent to manage the event targets.

   DotNetNuke.UI.Utilities.ClientAPI.GetCallbackEventReference(Me.Parent.Parent.Parent, "'"

it's the level that messes things up a little, maybe I will find a dynamic way to manage this tomorrow or how to make it a logic part of my overloaded Datagrid control API.

Cheers,
/Rob

 

 
New Post 2/2/2006 3:16 PM
User is offline cent_usr
88 posts
10th Ranked


Re: DataGrid pageing and so on 

After spending some time on this today, looking at several AJAX implementations I’m fairly up to date what to do to make this work through ClientAPI, but unexpectedly (it easily becomes complicated as you one second tries to manipulate the DataGrid control and in the next poke around in the ClientAPI) I seem unable to find a vital feature as I’m unsure if it’s supported by the ClientAPI alone. 

I have the following question to you Jon; You have apparently thought about making hide/show working through dynamically fetching UI components. #1 Question is, how? :o)

I have made this a long time ago (Pre .NET) by rendering each required component through a common .asp page which I loaded in a hidden iframe, As this was done I searched for the node ID I was to replace within the freshly loaded iframe and performed a copy between the nodes innerHTML.

However, I’m not sure if this is allowed today depending on the .NET page v13wstat3. I remember reading here in the blogs and on the asp.net forum about the v13wstat3 protection implemented in DNN to prevent page manipulations and hijacked postbacks. (Maybe this is just made through some cookie magic and we all go free but I haven’t looked in to this so I’m not sure)

Dynamical adding and removing of some chunks of UI is required as you indicated above Jon in order to update the grid after some paging is performed. For me the question is what approach to take?

Naturally it required more time than what I hoped for just to figure the basics out but hey! :)

Cheers,
/Rob

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DataGrid paging and so on
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP