I dont know if this question is suitable with this forum because I dont know my problem is causing because of ASP.NET or it is some CSS problem.
I am working on .NET 3.5. I have a .aspx page with lots of DIVs. When I run my project, it rus properly and displyed properly if my screen resolution is 1024*768... but when i change my screen resolution to any other value, some DIVs move here n their randomly. I couldnt figure out the reason after many tries. I am sure my HTML coding is perfect ( all DIVs and other tags are closed properly).
The application is running as expected. The user control is being called and all is well. Well not quite.
I am unable to step into the User Control project, i.e debug it. I can set breakpoints but they never get trapped. I can debug all other areas of the site both in script and code behind without any problems. The User control gets built in DEBUG to the same location as the default.aspx page.
Things i have already tried:
Enabled script debugging in IE.
Added the User Control project to the same web site solution
Attached debugger to running instance of IE from Visual Studio
Enabled debugging on the site.
Below is some sample code which should help:
default.aspx: (Cut down for brevity)
catch (e) //if the DLL didn't run assume there is a trust problem.
Please only give feedback if you have actually done this in practice.
you may already have this program or you may have photoshop (Which is More Powerful), but Paint.NET is a very easy-to-use yet powerful photo and image editor that you will surely get to grips with quickly. Get it here (It's Free).
Hopefully this will be a whole lot simpler to start off with (Compared to Photoshop (Which is expensive) or the GIMP (Which is quite complex)) but will retain the power you need. Please note that Paint.NET requires the .NET framework.
This could be accomplished easily if you have BizTalk Server 2006 installed ... it installs a tool for XML Schema files in which you will be able to right click and then click Generate XML File which is a sample XML file of your schema .. unfortunately I tried previously to have this tool installed independently but with no luck ... and I don't expect you to install BizTalk Server 2006 for that ... so I recommend using the XML API's as Mr. SeMartens said in this post.
Sincerely Samer Abu Rabie
Note: Please remember to rate this post to help others whom reading it.
<div id="container" >
<DIV id="formButtons"><asp:Button id="Button1" onclick="Button1_Click" runat="server" BackColor="Aqua" Width="201px" Text="Save Form"></asp:Button> </DIV></div>
the div container is the parent div with height 500px and div formButtons is the scrolling div
i want scroling div to move in the parent div is that if i scroll to the bottom the scrolling div should stick on the bottom of the container div
window.onscroll = function()
if (document.documentElement.scrollTop < "530") //the value i have putten in quatation is the constant where i need a certain function to dynamicaly get the values the value entered here is one where i want div to stick but it changes when maximized
document.getElementById("formButtons").style.bottom="'-690px'"; the value here should also be assigned dynamically on parent container bottom right
Yeah. It's beyond my understanding how so many people think they can read something from a forum that will be, somehow, magically more informative than reading information that already exists on a subject.
It's beyond my understanding how so many people think they can read something from a forum that will be, somehow, magically more informative than reading information that already exists on a subject.
I agree. When looking at most knowledge base articles on just about any real topic, the length of those articles would just be beyond the scope of a forum post. I wonder if it is people hoping for a quick silver-bullet, cure-all, answer; rather than having to do some serious reading.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
Last Visit: 31-Dec-99 18:00 Last Update: 24-Oct-14 18:07