We have a asp.net application that allows our users to create their own website. One of the requirements is that the users should be able to add a hyperlink to a page within their own website.
I modified the tag_a.ascx to display the pages in the user's website. I made this work much like how "Select a named anchor in the current page" works. This is what I have so far (you will notice that I also did other modifications to this control to simplify this dialog)...
Right now, I am hard coding the user's website id into the querystring on the tag.aspx page,
string FrameSrc="Tag.Frame.Aspx?"+Request.ServerVariables["QUERY_STRING"] + "&id=1076";
And on the tag_a.ascx page, I am getting this id from the querystring,
int id = Convert.ToInt32(Context.Request.QueryString["id"]);
And then calling one our business objects to get the list of pages.
So, my issue is, how do I get the id from the page that has the cute editor to the tag_a.ascx page? I was hoping to be able to add it to the querystring. Is there another way within Cute Editor??
If I can't customize Cute Editor to do this, then I suppose I could use a different technique such as create a session variable.
What do you think?
Thanks,
Mike