H
I have to display a sortable list of columns(a table or so) - by click on the title of a column, the column would be the criteria to sort by
I know datagrid is very conveniant, but I want to save the round trip to the server(I don't want postback)
Is there other way to use ASP.NET server controls(maybe the datagrid itself) to have an easy databound from one hand and client sort from second
May be a technique that tranform a XSL on a datagrid result in the client
For now all I could think of, is call to response.write, that send string of XML to the client, like with traditinal asp, and transorm a different xsl via the client DOM,(xsl files that changed according to the sort field)
I would be glad to here better suggestion to save the round trip
If there aren't , I would be glad to be noted on a good article that explains how to implement the XML/XSL technique
thank 4 4425
You can cut out the "database requery" bit of the round trip by persisting the dataset with your records to a Session variable. Use a DataView on the correct Table in your DataSet and you can sort/filter away... Bind the DataView to your DataGrid rather than direct to the Table..
use
If Not IsPostback The
'query D
Els
'just reset your dataview on the dataset's tabl
'rebind your grid..
End I
OK, still a round trip but no database requery required... :
Not sure how you could affect the DataGrid WITHOUT a trip back to the server to run ASP.NET to reset the grid's properties as it IS a server-sid control... Would be interested to know any techniques you uncover : al*****@yahoo.c om
You can cut out the "database requery" bit of the round trip by persisting the dataset with your records to a Session variable. Use a DataView on the correct Table in your DataSet and you can sort/filter away... Bind the DataView to your DataGrid rather than direct to the Table..
use
If Not IsPostback The
'query D
Els
'just reset your dataview on the dataset's tabl
'rebind your grid..
End I
OK, still a round trip but no database requery required... :
Not sure how you could affect the DataGrid WITHOUT a trip back to the server to run ASP.NET to reset the grid's properties as it IS a server-sid control... Would be interested to know any techniques you uncover : al*****@yahoo.c om
When you say without round trip, do you mean no post back?
This can been done with an XML island, you can create XSLT from the island
and change the XML on the island (eg sort it) and you XSLT will change your
table.
try a google with XML ISLAND SORT as your search.
but I dont think ASP.NET has any controls out of the box that do this.
Steve
"Yanir" <an*******@disc ussions.microso ft.com> wrote in message
news:C9******** *************** ***********@mic rosoft.com... Hi I have to display a sortable list of columns(a table or so) - by click on
the title of a column, the column would be the criteria to sort by. I know datagrid is very conveniant, but I want to save the round trip to
the server(I don't want postback). Is there other way to use ASP.NET server controls(maybe the datagrid
itself) to have an easy databound from one hand and client sort from
second? May be a technique that tranform a XSL on a datagrid result in the client?
For now all I could think of, is call to response.write, that send string
of XML to the client, like with traditinal asp, and transorm a different xsl
via the client DOM,(xsl files that changed according to the sort field)? I would be glad to here better suggestion to save the round trip? If there aren't , I would be glad to be noted on a good article that
explains how to implement the XML/XSL technique. thanks
When you say without round trip, do you mean no post back?
This can been done with an XML island, you can create XSLT from the island
and change the XML on the island (eg sort it) and you XSLT will change your
table.
try a google with XML ISLAND SORT as your search.
but I dont think ASP.NET has any controls out of the box that do this.
Steve
"Yanir" <an*******@disc ussions.microso ft.com> wrote in message
news:C9******** *************** ***********@mic rosoft.com... Hi I have to display a sortable list of columns(a table or so) - by click on
the title of a column, the column would be the criteria to sort by. I know datagrid is very conveniant, but I want to save the round trip to
the server(I don't want postback). Is there other way to use ASP.NET server controls(maybe the datagrid
itself) to have an easy databound from one hand and client sort from
second? May be a technique that tranform a XSL on a datagrid result in the client?
For now all I could think of, is call to response.write, that send string
of XML to the client, like with traditinal asp, and transorm a different xsl
via the client DOM,(xsl files that changed according to the sort field)? I would be glad to here better suggestion to save the round trip? If there aren't , I would be glad to be noted on a good article that
explains how to implement the XML/XSL technique. thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Maria |
last post by:
Hi
I have a asp:table that I want to hold the values between
postbacks. Hope some one knows how I can get that to work
in an easy way. The table is loaded in runtime with
different textboxes. When i press a button and runs some
server code the page becomes "quite empty"
Thanks in advance
|
by: Yanir |
last post by:
H
I have to display a sortable list of columns(a table or so) - by click on the title of a column the column would be to criteria to sort by
I know datagrid is very conveniant, but I want to save the round trip to the server
Is there other way to use ASP.NET server controls(maybe the datagrid itself) to have an easy databound from one hand and client sort from second
May be a technique that tranform a XSL on datagrid result
For now all I...
|
by: Yanir |
last post by:
H
I have to display a sortable list of columns(a table or so) - by click on the title of a column, the column would be the criteria to sort by
I know datagrid is very conveniant, but I want to save the round trip to the server(I don't want postback)
Is there other way to use ASP.NET server controls(maybe the datagrid itself) to have an easy databound from one hand and client sort from second
May be a technique that tranform a XSL on a...
|
by: Mike |
last post by:
Hello,
I have a web user control that contains a ListBox. I would like to display some information based on the double-clicking of the user on a ListBox's item. I was thinking about some code behind procedure to do that, but I am a little bit worried about round-trip to the web server. Every time the user clicks on an item, a round-trip to the server is made. Is there a better solution to avoid these round-trips?
Thanks.
Mike
|
by: needin4mation |
last post by:
I understand this is a asp.net group, but thought I would post this
here for comments. I admit I have used this post in another group, but
it has less traffic. Here's to hoping I'm just blind to the obvious:
I have been reading a lot about AJAX. I want to use it and will. But
I keep reading about how it doesn't make a roundtrip to the server, no
postback, etc. But isn't the truth that *something* makes a trip to
the server? It may...
| |
by: Ron L |
last post by:
I have a data table that lists a series of items in my database. In my user
form, I want the user to be able to filter by a number of criteria (e.g.
location, contract, date modified, etc). Other than modified date, all my
filters are selected via combo boxes. I would like to have the combo boxes
update so that if there are no items available in the currently filtered
list for a given selection, that selection will not appear in the...
|
by: Steve Atkins |
last post by:
I have a large table (potentially tens or hundreds of millions of rows) and
I need to extract some number of these rows, defined by an integer primary
key.
So, the obvious answer is
select * from table where id in (1,3,4);
But I may want to extract a large number of rows, many thousands
|
by: TORQUE |
last post by:
Hi,
Im wondering if anyone can help me with a problem.
I have a form with more than 50 unbound fields.
Some of the fields will be blank from time to time.
This seems to be where im having trouble.
I have tried keeping some of the fields bound and when I use the save button
it has been saving as 2 different records. This is unacceptable.
This is what I have, can anyone help me out with this?
|
by: Tony Girgenti |
last post by:
Hello.
I'm trying to undetrstand ASP.NET 2.0 and javascript.
When i have a button and i click on it and i see the web broswer progress
bar at the bottom do something, does that mean that there is postback
occurring? Does that mean a round trip to the server occurred?
I keep reading javascript articles and tutorials that say "improve the
client-side experience to be more responsive and quicker", but the articles
|
by: Jeff |
last post by:
....still new to visual studio 2005 and vb.net
I have a master page with a content placeholder.
The content page has a table in the content placeholder (placed there via
dragging from the toolbox).
In the content page I created - using code - a few rows within the table and
a few cells within the rows and some text within the cells.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |