Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
WebExplorer bar Image button click
posted

I have added the webExplorebar in my page, Below is my code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ig:WebExplorerBar ID="WebExplorerBar1" runat="server" Width="260px" ViewStateMode="Enabled" StyleSetName ="ElectricBlue"><Groups><ig:ExplorerBarGroup Text="Group 1" Expanded

="false">

 

 

 

 

<Items>

 

 

 

<ig:ExplorerBarItem SelectedCssClass="selExItem">

 

 

 

 

<Template>

 

 

 

<user Control>

 

 

 

</ig:ExplorerBarItem>

 

 

 

 

</Items>

 

 

 

</ig:ExplorerBarGroup>

I have set  GroupExpandAction="HeaderClick" and AutoPostBackFlags ItemClick :Off and ItemSelected:off

When I click on the header  without any postback the usercontrol items are expanding but when i click on the button image(down arrow and up arrow) i am getting the 403 error and it is doing the postback and redirecting to /usercontrol/# page. Please need help when i click on the image also without postback it should expand.

Parents
  • 49378
    posted

    Hi KarthikaSubbiah,

    Thank you for posting in the community.

    From what I can understand your requirement is not to initiate a postback when clicking on the image button contained in the templated user control. This may be achieved by setting the OnClientClick handler of the image button to return false, effectively cancelling postback.

    Please let me know if this helps.

Reply Children