S
Stef
I everyone,
I have created User controls (ascx) that are display in an
hierarchical way.
Let me explain a bit what I've done so far:
Let's say a customer make a request, this request will contain at least
one result. This result will have list of different member class.
Within each list will be the actual list of members.
These members could have requests as well which would have their
results with lists of classes with members inside them and so on...
So, I've made 4 controls, a RequestViewer, a ResultViewer, a ListViewer
and a Member viewer. I load data from our database and generate some
xml that I use to fill the controls .
The way it works is, each controls have a linkbutton displaying + or -
depending if the control is expanded or not, like a treeview let say.
The problem I get is this: after expanding some levels, I get a bug
which seems to be a limitation of javascript function call with the
__doPostBack method because, when I reach a certain level, the data
aren't displayed and I know that there's data. What I've found is that
the linkbutton used to expand has a hell of a long parameter value!
Something like this:
javascript:__doPostBack('CurrentRequest$Result201$List201$Member202$Result202$List202$Member212$Result203$List203$Member236$Result204$List204$Member283$lnkExpand','')
It seems like it's the longuest it'll take... Further that that isn't
processed...
Anyone can tell me if there's something I'm missing or if someone has a
solution?
Thanks a lot!
I have created User controls (ascx) that are display in an
hierarchical way.
Let me explain a bit what I've done so far:
Let's say a customer make a request, this request will contain at least
one result. This result will have list of different member class.
Within each list will be the actual list of members.
These members could have requests as well which would have their
results with lists of classes with members inside them and so on...
So, I've made 4 controls, a RequestViewer, a ResultViewer, a ListViewer
and a Member viewer. I load data from our database and generate some
xml that I use to fill the controls .
The way it works is, each controls have a linkbutton displaying + or -
depending if the control is expanded or not, like a treeview let say.
The problem I get is this: after expanding some levels, I get a bug
which seems to be a limitation of javascript function call with the
__doPostBack method because, when I reach a certain level, the data
aren't displayed and I know that there's data. What I've found is that
the linkbutton used to expand has a hell of a long parameter value!
Something like this:
javascript:__doPostBack('CurrentRequest$Result201$List201$Member202$Result202$List202$Member212$Result203$List203$Member236$Result204$List204$Member283$lnkExpand','')
It seems like it's the longuest it'll take... Further that that isn't
processed...
Anyone can tell me if there's something I'm missing or if someone has a
solution?
Thanks a lot!