Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to open a costumized page in our webform

how to open a costumized page in our webform

Scheduled Pinned Locked Moved ASP.NET
javascriptdatabasesysadminperformancehelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    netsooz Amir Hamidi
    wrote on last edited by
    #1

    My problem is kind of javascript related thing I guess. I have this datalist stuff and On it there are some titles being read from database. its ok so far. But I have this link for each title so when a user clicks on that link (READ MORE link) there opens a new window above all windows and the news show up there. I've used the code below in the OnClientClick event of my READ MORE link :

    <asp:LinkButton ID="LinkButton4" runat="server"
    CausesValidation="False" OnClientClick="windows.showModalDialog('news.aspx, titlebar="no", fullscreen="false", width="300", height="300", toolbar="no", resizable="false", menubar="no"');">read more</asp:LinkButton>

    The qoueted part is a little problamatic I guess. I mean I used qouets, i removed them, I changed the captial letters and ... but no result. If possible please give me the proper solution

    Proper Prepration Prevents Poor Performance! h

    J 1 Reply Last reply
    0
    • N netsooz Amir Hamidi

      My problem is kind of javascript related thing I guess. I have this datalist stuff and On it there are some titles being read from database. its ok so far. But I have this link for each title so when a user clicks on that link (READ MORE link) there opens a new window above all windows and the news show up there. I've used the code below in the OnClientClick event of my READ MORE link :

      <asp:LinkButton ID="LinkButton4" runat="server"
      CausesValidation="False" OnClientClick="windows.showModalDialog('news.aspx, titlebar="no", fullscreen="false", width="300", height="300", toolbar="no", resizable="false", menubar="no"');">read more</asp:LinkButton>

      The qoueted part is a little problamatic I guess. I mean I used qouets, i removed them, I changed the captial letters and ... but no result. If possible please give me the proper solution

      Proper Prepration Prevents Poor Performance! h

      J Offline
      J Offline
      jc net
      wrote on last edited by
      #2

      The second argument to showModalDialog should be like this: OnClientClick="windows.showModalDialog('news.aspx, 'menubar=0, scrollbars=1, resizable=1, toolbar =0, width = 390, height = 500');" Rules biler

      Rules biler

      modified on Sunday, February 15, 2009 2:35 PM

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups