Value from User Control to Delegate Control RRS feed

  • Question

  • Hi, I have two banners (Right, Left) that uses the same User Control. I would like to pass a value from a User Control to a Delegate Control to indicate the position right or left, is it possible?


    Monday, March 3, 2014 4:16 PM


  • Hi,

    According to your post, my understanding is that you want to indicate the position(Left or Right) of the two User Control.

    We can use DIV + CSS to achieve it, the following code snippet for your reference:

    <div id="banner">
        <div id="bannerLeft">
            User Control 1 
        <div id="bannerRight">
            User Control  2
    <style type="text/css">

    Best Regards

    Dennis Guo
    TechNet Community Support

    Friday, March 7, 2014 2:57 AM