|
You can set images with and height to your custum size.
Like this :
<asp:Image ID="Image1" runat="server" Height="100px" Width="100px" />
|
|
|
|
|
I don't want it to be a fixed size. I would like to scale down if needed, but not scale up. I would also like to keep the image height/width ratio.
|
|
|
|
|
|
Hi,
I desinging a custom control in asp.net. How can i give the descrition of a property as when user select the Property he can see the purpose of the properties.
I have tried with
Description["My Desc"]
public string Myprop
{
get {}
set{}
}
but it does not come to my main page while i am typing webcontrol.Mypro ..
Please Help....
|
|
|
|
|
if(confirm("are you sure")==false)
{
return false;
}
still the window is closing .i am using the onbeforeunload funciton .
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Hi Sonia! Do you find you're not getting much help?
|
|
|
|
|
Why do you keep starting new threads about the same things? Keep one question in one thread.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
i am calling the confirmation message box in the on beforeupload.i have a button there in the page also.on clicking the button , i am getting the message box invoked aqs well .y it is occuring?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
I already answered that in your previous thread.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
hello everybody !!
could please tell me about
how to refresh drop down list without refreshing the whole page?
Thanks in Advance
Sarfarj Ahmed
|
|
|
|
|
|
hello kumar
thanks for ur reply.
is their anything i can do without using ajax?
Sarfarj Ahmed
|
|
|
|
|
hi all
i need help to write a query
I have a table with the coloumns SNo ,ProductId and brandId
SNo is given as identity true
now want to retrive a ProductID whose SNo is maximum value
thank you.
siri
|
|
|
|
|
This is the wrong forum. This should be posted on the sql forum.
Still the answer should be something like:
select sno, productid, brandid from table
where sno = (select max(sno) from table)
Hope that helps.
Ben
|
|
|
|
|
I have a weird problem, See the skelton code below, it's in page_load
if(!IsPostBack)
{
BindGridView();
}
GridView1.Columns[0].HeaderText = "Bla Bla";
This looks simple, I am not doing any extra logic in BindGridView() . Getting the data and binding it. But it's not changing the header text. But when a postback occurs, header text got changed. What is wrong here, Is gridview having any problem for changing header text immediatly after it is binded ?
|
|
|
|
|
You have to give the change text in header before BindGridView().
if(!IsPostBack)
{
GridView1.Columns[0].HeaderText = "Bla Bla";
BindGridView();
}
Best Regards
|
|
|
|
|
i have a java script confirm message box , which i am invoking at the page closing.The window is closing at both the buttons ok and cancel.y it is happening?how i can I keep the window open , ok clicking the cancel button.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
|
in body tag , i am calling onBeforeUnload() = "abc();"
function abc()
{
if( confirm('ok'))
return true;
still it does not keep the window open , while i am clicking the cancel button.
}
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Hi anthor way of doing the things.....
<head><br />
<script type="text/javascript"><br />
function close()<br />
{<br />
return window.confirm("Click ok to close");<br />
}<br />
</script><br />
</head><br />
<body onbeforeunload="return close()"><br />
</body><br />
</html>
Regards,
Sandeep Kumar.V
|
|
|
|
|
even now, the moment , i click the cancel button, the window is vanishing.
please help.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
The window object already has a method named close , so that is not a good method name.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
I think you're missing the else part of that if, where it will return false if not ok...
|
|
|
|
|
Sonia Gupta wrote: in body tag , i am calling onBeforeUnload() = "abc();"
Attributes in an html tag doesn't have parentheses. Also, you have to return the value from the function call to the event:
onbeforeunload="return abc();"
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Hi here is the code..........
<html><br />
<head><br />
<script type="text/javascript"><br />
function close()<br />
{<br />
event.returnValue = "Any string value here forces a dialog box to appear before closing the window.";<br />
}<br />
</script><br />
</head><br />
<body onbeforeunload="close()"><br />
</body><br />
</html>
Regards,
Sandeep Kumar.V
|
|
|
|