Click here to Skip to main content
15,895,782 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Arrgghh! How to disable vs automatically adding style settings for controls? Pin
minhpc_bk11-Jul-06 22:01
minhpc_bk11-Jul-06 22:01 
GeneralRe: Arrgghh! How to disable vs automatically adding style settings for controls? Pin
Member 9612-Jul-06 5:18
Member 9612-Jul-06 5:18 
QuestionHow to send client side data to server side using any method(hidden field or AJAX) Pin
B Desai11-Jul-06 11:55
B Desai11-Jul-06 11:55 
AnswerRe: How to send client side data to server side using any method(hidden field or AJAX) Pin
minhpc_bk11-Jul-06 22:05
minhpc_bk11-Jul-06 22:05 
QuestionRegularExpressionValidator make me crazy! Pin
tranky11-Jul-06 10:19
tranky11-Jul-06 10:19 
AnswerRe: RegularExpressionValidator make me crazy! Pin
Dustin Metzgar11-Jul-06 10:35
Dustin Metzgar11-Jul-06 10:35 
AnswerRe: RegularExpressionValidator make me crazy! Pin
minhpc_bk11-Jul-06 11:58
minhpc_bk11-Jul-06 11:58 
QuestionAbsolute positioning ( CSS ) and updating problems in Visual Studio 2005 Pin
tedhill1311-Jul-06 10:14
tedhill1311-Jul-06 10:14 
When I use absolute positioning ( position:absolute; left:376px; top:25px; ) in a html control to position an image-button like this one:
________________________________________________________
<img src="Images/genericbtn.gif" alt="" border="0" usemap="#Map4" style="position:absolute; left:376px; top:25px; z-index:3; width: 95px; height: 23px;"/>
<map id="Map4">
<area shape="poly" coords="94,0, 93,7, 78,22, 0,21, 1,15, 15,0" href="ShoppingCart.aspx" />
</map>
_____________________________________________________________________________________

It works fine. It gets positioned where it is supposed to.

However, when I use a web control instead ( because I need a C# OnClick event handler ) like this:
_______________________________________________________________________________________
<asp:ImageMap ID="checkout" CssClass="CheckBtn" ImageUrl="~/Images/genericbtn.gif" OnClick="checkout_Click" hotspotmode="PostBack" runat="server">
<asp:PolygonHotSpot Coordinates="94,0, 93,7, 78,22, 0,21, 1,15, 15,0" postbackvalue="Yes" />
</asp:ImageMap>
_______________________________________________________________________________________

And using this CSS code:
___________________________________
.CheckBtn
{
position:absolute;
left:470px;
top:25px;
z-index:5;
width: 95px;
height: 23px;
}
___________________________________
It does not obey the “left” absolute coordenate. Instead Visual Studio throw it close to the left window border.

1-Is there a solution for that ?

2- I also notice that when you change the CSS absolute position of a html control in the code, VS not always updates it immediately through compilation. Instead it updates it unpredictably and only when you close and run VS again several times.

The same happens when you replace a image file but keeps its old name. VS does not updates the image.

Why that happens ? How to fix it ?

AnswerRe: Absolute positioning ( CSS ) and updating problems in Visual Studio 2005 Pin
Guffa11-Jul-06 11:36
Guffa11-Jul-06 11:36 
GeneralRe: Absolute positioning ( CSS ) and updating problems in Visual Studio 2005 Pin
tedhill1312-Jul-06 7:47
tedhill1312-Jul-06 7:47 
GeneralRe: Absolute positioning ( CSS ) and updating problems in Visual Studio 2005 Pin
tedhill1312-Jul-06 8:09
tedhill1312-Jul-06 8:09 
AnswerRe: Absolute positioning ( CSS ) and updating problems in Visual Studio 2005 Pin
Guffa13-Jul-06 11:35
Guffa13-Jul-06 11:35 
QuestionUsing Asp.net Membership Provider in a shared hosting and Sql Server Pin
Odin Nordic11-Jul-06 9:44
Odin Nordic11-Jul-06 9:44 
AnswerRe: Using Asp.net Membership Provider in a shared hosting and Sql Server Pin
minhpc_bk11-Jul-06 11:47
minhpc_bk11-Jul-06 11:47 
QuestionVisual Web Developer 2005 Express Edition Pin
_rnd@11-Jul-06 9:42
_rnd@11-Jul-06 9:42 
AnswerRe: Visual Web Developer 2005 Express Edition Pin
minhpc_bk11-Jul-06 11:49
minhpc_bk11-Jul-06 11:49 
GeneralRe: Visual Web Developer 2005 Express Edition Pin
_rnd@12-Jul-06 1:45
_rnd@12-Jul-06 1:45 
GeneralRe: Visual Web Developer 2005 Express Edition Pin
minhpc_bk12-Jul-06 4:12
minhpc_bk12-Jul-06 4:12 
GeneralRe: Visual Web Developer 2005 Express Edition Pin
_rnd@12-Jul-06 4:55
_rnd@12-Jul-06 4:55 
QuestionAudio Chat Server Pin
MalikRizwan11-Jul-06 6:36
MalikRizwan11-Jul-06 6:36 
QuestionHow to identify which radio button has been selected for a datagird ? Pin
cheeken2u11-Jul-06 6:11
cheeken2u11-Jul-06 6:11 
AnswerRe: How to identify which radio button has been selected for a datagird ? Pin
leckey11-Jul-06 7:00
leckey11-Jul-06 7:00 
QuestionForm Authentication w/ a Trusted SQL Server Connection? Pin
-Dr_X-11-Jul-06 4:37
-Dr_X-11-Jul-06 4:37 
AnswerRe: Form Authentication w/ a Trusted SQL Server Connection? Pin
minhpc_bk11-Jul-06 11:54
minhpc_bk11-Jul-06 11:54 
GeneralRe: Form Authentication w/ a Trusted SQL Server Connection? Pin
-Dr_X-12-Jul-06 6:20
-Dr_X-12-Jul-06 6:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.