SoaRequestTag missing

Answered (Verified) This post has 1 verified answer and 3 replies

Top 200 Contributor
Posts: 34
pauloxford Posted: Wed Apr 29, 2009 @ 6:13 AM
How do you set the SoaRequestTag on the treeview control when using the SoaServiceUrl. I want to send some data to the web service when first loading the treeview like the folder path to retrieve. Code: TreeView1.SoaServiceUrl = "pathToService"; Misssing: TreeView1.SendExtraData when calling service

Answered (Verified) Verified Answer

Top 150 Contributor
Posts: 50
Answered (Verified) jovca Posted: Wed Apr 29, 2009 @ 9:19 AM
Verified by jovca
Hi,

TreeView SoaRequestTag & SoaResponseTag properties will be available in the forthcoming service pack 1. In the meantime, you can use the following:

TreeView1.BeforeSoaRequestSent += new EventHandler(TreeView1_BeforeSoaRequestSent);

[...]

void TreeView1_BeforeSoaRequestSent(object sender, TreeViewSoaRequestCancelEventArgs e)
{
    e.Request.Tag = myExtraData;
}

All Replies

Top 150 Contributor
Posts: 50
Answered (Verified) jovca Posted: Wed Apr 29, 2009 @ 9:19 AM
Verified by jovca
Hi,

TreeView SoaRequestTag & SoaResponseTag properties will be available in the forthcoming service pack 1. In the meantime, you can use the following:

TreeView1.BeforeSoaRequestSent += new EventHandler(TreeView1_BeforeSoaRequestSent);

[...]

void TreeView1_BeforeSoaRequestSent(object sender, TreeViewSoaRequestCancelEventArgs e)
{
    e.Request.Tag = myExtraData;
}
Top 200 Contributor
Posts: 34
pauloxford Posted: Wed Apr 29, 2009 @ 9:45 AM
That will do for now..Thank you! Any idea when SP1 will be released.
Top 150 Contributor
Posts: 50
jovca Posted: Wed Apr 29, 2009 @ 9:47 AM
By the end of this or early next week.
Page 1 of 1 (4 items)