C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » JavaScript »

ASP.NET WEBSITE ALIGNMENT WHILE USING JAVASCRIPT


Posted Date: 19 Jul 2008      Posted By: jayakumar      Member Level: Gold     Points: 1   Responses: 1



hi
am developed webapplication using VS2005 with C#.
i used to open a new window on clicking a linkbutton in datagrid cell using

Response.Write("<script language=\"javascript\" type=\"text/javascript\">window.open(\"EditEquipments.aspx\",null,\"height=600,width=900,status=yes,toolbar=no,scrollbars=yes,menubar=no,location=no,left=10,top=10\")</script>");

it is opening correctly,but in the enternet explorer the alignment and font size all are getting bigger,and looks bad.

whereas in mozila firebox it is working fine with same alignment.

how do i overcome this issue!.,since many of the people will see it in internet explorer only.

please could any one tell me about this issue.





Responses

Author: shanmukha kumari    21 Jul 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 4

just write one javascript function as

function openPopup()
{
window.open(\"EditEquipments.aspx\",null,\"height=600,width=900,status=yes,toolbar=no,scrollbars=yes,menubar=no,location=no,left=10,top=10\");
return false;
}

call this function in the link buttons onclick event.
Hope this will helpful to you



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : number of occurence of a word in a web page
Previous : Disable Print screen,Right Click using javascript
Return to Discussion Forum
Post New Message
Category: JavaScript

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use