Hello, I am making a web page and I want to make it 100% fluid, which means that I want to resize the images when the browser window is resized. I just need to know how to get the Panel width in px with c#. I am using master page and the panel is there; the main page that uses the master page contains the images. I tried to take the vlue of the Panel with public getter and then to call it from the main page using ((MyMasterPage)this.Master).PanelPlatformWidth, but it is returning zero (I defined the Panel's width in % in a css). What should I do?
KingVampire 0 Newbie Poster
Freon22 2 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.