Click here to Skip to main content
15,884,537 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: DropDownList width Pin
Abhishek Sur6-Feb-09 1:34
professionalAbhishek Sur6-Feb-09 1:34 
Questionabout asp Pin
umeshdaiya5-Feb-09 3:23
umeshdaiya5-Feb-09 3:23 
AnswerRe: about asp Pin
SeMartens5-Feb-09 3:41
SeMartens5-Feb-09 3:41 
QuestionRe: about asp Pin
TylerBrinks5-Feb-09 15:31
TylerBrinks5-Feb-09 15:31 
AnswerRe: about asp Pin
Ranjit Viswakumar5-Feb-09 16:34
Ranjit Viswakumar5-Feb-09 16:34 
QuestionCustom WEb Confirm Box Pin
siva4555-Feb-09 3:07
siva4555-Feb-09 3:07 
AnswerRe: Custom WEb Confirm Box Pin
Abhishek Sur5-Feb-09 4:20
professionalAbhishek Sur5-Feb-09 4:20 
AnswerRe: Custom WEb Confirm Box Pin
Ranjit Viswakumar5-Feb-09 16:53
Ranjit Viswakumar5-Feb-09 16:53 
You want something like this-

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>CSS Popup Box</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
<script type="text/javascript">
//<![CDATA[
function doConfirm(v)
{
var b = document.getElementById('btn');
b.value = 'Display dialog [last return value: ' + v + '/' + (v ? 'OK' : 'Cancel') + ']';
}

function setDisp(id, disp)
{
document.getElementById(id).style.display = disp;
}
//]]>
</script>
<style type="text/css">
/*<![CDATA[*/
#confirm {
position: absolute;
top: 40px;
left: 70px;
border: outset #000 10px;
padding: 1em 3em;
display: none;
background: #a5c4cc;
}

#ok {
background: #a5cca8;
}

#cancel {
background: #d6a4a4;
}

#ok, #cancel {
padding: 2px;
margin:2px;
}
/*]]>*/
</style>
</head>
<body>
<div id="confirm">
<div>Are you sure?</div>
<input type="button" id="ok" value="OK" onclick="doConfirm(true);setDisp('confirm', 'none');" />
<input type="button" id="cancel" value="Cancel" onclick="doConfirm(false);setDisp('confirm', 'none');" />
</div>
<div><input type="button" id="btn" value="Display dialog" onclick="setDisp('confirm', 'block');" /></div>
</body>
</html>

Play with the CSS to make it look the way you want. Good luck!

Ranjit Viswakumar
Professional Services Specialist
HostMySite.com[^]
GeneralRe: Custom WEb Confirm Box Pin
siva4555-Feb-09 18:28
siva4555-Feb-09 18:28 
QuestionXMLDataSource.Data not binding right Pin
Yisman25-Feb-09 2:00
Yisman25-Feb-09 2:00 
AnswerRe: XMLDataSource.Data not binding right Pin
ToddHileHoffer5-Feb-09 2:35
ToddHileHoffer5-Feb-09 2:35 
GeneralRe: XMLDataSource.Data not binding right Pin
Yisman27-Feb-09 22:44
Yisman27-Feb-09 22:44 
GeneralRe: XMLDataSource.Data not binding right Pin
ToddHileHoffer8-Feb-09 5:16
ToddHileHoffer8-Feb-09 5:16 
AnswerRe: XMLDataSource.Data not binding right Pin
Yisman212-Feb-09 2:35
Yisman212-Feb-09 2:35 
GeneralRe: XMLDataSource.Data not binding right Pin
Jim_Gray15-Jun-10 10:04
Jim_Gray15-Jun-10 10:04 
GeneralRe: XMLDataSource.Data not binding right Pin
Yisman229-Jun-10 20:45
Yisman229-Jun-10 20:45 
AnswerRe: XMLDataSource.Data not binding right Pin
SumitMe19-Apr-10 4:10
SumitMe19-Apr-10 4:10 
Questionwebsite hosting Pin
kushalrshah5-Feb-09 1:48
kushalrshah5-Feb-09 1:48 
AnswerRe: website hosting Pin
ToddHileHoffer5-Feb-09 2:36
ToddHileHoffer5-Feb-09 2:36 
GeneralRe: website hosting Pin
kushalrshah5-Feb-09 2:42
kushalrshah5-Feb-09 2:42 
GeneralRe: website hosting Pin
ToddHileHoffer5-Feb-09 2:53
ToddHileHoffer5-Feb-09 2:53 
QuestionData inserted once again after Refreshing the browser Pin
ashok@techxygen5-Feb-09 1:31
ashok@techxygen5-Feb-09 1:31 
AnswerRe: Data inserted once again after Refreshing the browser Pin
kushalrshah5-Feb-09 2:00
kushalrshah5-Feb-09 2:00 
AnswerRe: Data inserted once again after Refreshing the browser Pin
Anish Gopi5-Feb-09 3:12
sitebuilderAnish Gopi5-Feb-09 3:12 
AnswerRe: Data inserted once again after Refreshing the browser Pin
Ranjit Viswakumar5-Feb-09 17:00
Ranjit Viswakumar5-Feb-09 17:00 

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.