How I can resize my webform?

Last post 10-08-2008 2:59 AM by XIII. 7 replies.

Sort Posts:

  • How I can resize my webform?

    05-26-2008, 9:02 AM
    • Loading...
    • tams115
    • Joined on 08-20-2007, 12:24 PM
    • Posts 30

    Dear All,

     Can you please give me some hints,  how i can resize my webform?

  • Re: How I can resize my webform?

    05-26-2008, 9:08 AM
    • Loading...
    • XIII
    • Joined on 07-01-2002, 3:59 AM
    • Essen, Belgium
    • Posts 10,141
    • Moderator
      TrustedFriends-MVPs

    Hi,

    what do you want to resize?

    Grz, Kris.

  • Re: How I can resize my webform?

    05-27-2008, 5:44 AM
    • Loading...
    • tams115
    • Joined on 08-20-2007, 12:24 PM
    • Posts 30

    I need a popup window but that option is not availabe at there. So I want to resize page.

  • Re: How I can resize my webform?

    05-27-2008, 6:04 AM
    Answer
    • Loading...
    • XIII
    • Joined on 07-01-2002, 3:59 AM
    • Essen, Belgium
    • Posts 10,141
    • Moderator
      TrustedFriends-MVPs

    Hi,

    you can use javascript for this window.open is the method to call. Also take a look at http://search.live.com/results.aspx?q=site%3Aforums.asp.net+window.open&go=&form=QBHP.

    With window.open you can pass in the width and height of the box to show. 

    Grz, Kris. 

  • Re: How I can resize my webform?

    05-27-2008, 6:39 AM
    • Loading...
    • elegantkvc
    • Joined on 07-30-2007, 4:20 AM
    • chennai
    • Posts 198

    hi,

     

    There is a option for showing a form as a modal dialog in ASp.net.For that we have to use the javscript

     window.showdialog('page.aspx');

      You can specify some attributes like whether you want scrollbars and resizable option and height and width.

     

    cheers mate

    vijaySmile

    vijay
  • Re: How I can resize my webform?

    06-19-2008, 6:34 AM

    hello,

       while Page loading i want only limitted size( no need Full Browser view).

    thanks in advance.

  • Re: How I can resize my webform?

    10-07-2008, 7:06 PM
    • Loading...
    • sara1358
    • Joined on 10-07-2008, 3:10 AM
    • Posts 15

    Hi XIII

    is there any way to pass parameters to this java function? something  like datagrid row index?

    thanks

  • Re: How I can resize my webform?

    10-08-2008, 2:59 AM
    • Loading...
    • XIII
    • Joined on 07-01-2002, 3:59 AM
    • Essen, Belgium
    • Posts 10,141
    • Moderator
      TrustedFriends-MVPs

    sara1358:

    is there any way to pass parameters to this java function? something  like datagrid row index?

    Sure, pass it in as a querystring parameter to the popup window. In that page capture it via Request.QueryString["mygridrowindex"]; and use it in the Page_Load for example.

    Grz, Kris.

Page 1 of 1 (8 items)
Microsoft Communities
Page view counter