TreeView / SQLSiteMapProvider Question

D

Dave

I recently adopted the SQLSiteMapProvider that Jeff Prosise wrote
about at http://msdn.microsoft.com/en-us/magazine/cc163787.aspx#S1.
I
made 1 change though. Instead of the SQLCommand that he has in the
article I changed it to a parameterized Stored Procedure that's based
on a user selection from a DropDownList. It works fine for the first
selection, from nothing to something, but it doesn't refresh the
TreeView if a user changes the DropDownList.

What do I need to do to clear out and refresh the TreeView/
SQLSiteMapProvider when the parameter changes?
 
M

Mr. Arnold

Dave said:
I recently adopted the SQLSiteMapProvider that Jeff Prosise wrote
about at http://msdn.microsoft.com/en-us/magazine/cc163787.aspx#S1.
I
made 1 change though. Instead of the SQLCommand that he has in the
article I changed it to a parameterized Stored Procedure that's based
on a user selection from a DropDownList. It works fine for the first
selection, from nothing to something, but it doesn't refresh the
TreeView if a user changes the DropDownList.

What do I need to do to clear out and refresh the TreeView/
SQLSiteMapProvider when the parameter changes?

Maybe, you need to post to an ASP.NET forum.
 
D

Dave

Oh I did. Isn't this a C# Group? If you read what was said in my
original post you'd see that it primarily involves C#.

Thanks for the useless response.
 
M

Mr. Arnold

Dave said:
Oh I did. Isn't this a C# Group? If you read what was said in my
original post you'd see that it primarily involves C#.

Thanks for the useless response.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top