|
http://msdn2.microsoft.com/en-us/library/ms178472.aspx
http://www.15seconds.com/issue/020102.htm
chk it out. man.. hope it helps..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Sonia Gupta wrote: init
Raised after all controls have been initialized and any skin settings have been applied. Use this event to read or initialize control properties.
Sonia Gupta wrote: load
The Page calls the OnLoad event method on the Page, then recursively does the same for each child control, which does the same for each of its child controls until the page and all controls are loaded.
Use the OnLoad event method to set properties in controls and establish database connections
Sonia Gupta wrote: prerender
The Page object calls EnsureChildControls for each control and for the page.
Each data bound control whose DataSourceID property is set calls its DataBind method.
The PreRender event occurs for each control on the page. Use the event to make final changes to the contents of the page or its controls.
Regards,
Satips.
|
|
|
|
|
Hi Nilish
Please take a look of fallowing link http://www.codeproject.com/useritems/lifecycle.asp [^]
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
how to use cachng for searching keywords(.net,java....) or specific criteria using search engines
-- modified at 7:28 Wednesday 4th July, 2007
|
|
|
|
|
Your Search Engine Searches the web pages or any other machine
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
How can i change the datagrid row colour alternatively.
for ex:
1st row red
2nd row blue
3rd row red
4th row blue like that
with any conditions apply
|
|
|
|
|
check the AlternatingItemStyle property
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
thankz
i found out just before after sending message
|
|
|
|
|
var obj = new AW.UI.Grid;
obj.setCellData(function(col, row){return col + "." + row});
obj.setHeaderText(function(i){return "Col " + i});
obj.setColumnCount(10);
obj.setRowCount(100);
// create new row property
obj.defineRowProperty("color", function(row){
return this.getCellData(0, row).match("1") ? "red" : "blue";
})
// link row background to row color property
obj.getRowTemplate().setStyle("background", function(){
return this.getRowProperty("color");
});
Hope this will help you.
Regards,
Satips.
|
|
|
|
|
Asalam-O-Alikum!
i want to creat multiple RedioButtonList in ASP.NET at run time using vb.net
Regards
Ali
|
|
|
|
|
Dim rbl As New RadioButtonList
Dim il As New ListItem("test", "1")
rbl.Items.Add(il)
Panel1.Controls.Add(rbl)
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Dear All,
I have a aspx page which i open using showmodaldialog of javascript. i set the statusbar property to no while opening the page. it is working fine all operating systems except 2003 server, the status bar is getting displayed. is there any thing we can do hide that status bar.
thanks in advance
Ramesh.Kanjinghat
|
|
|
|
|
Dear people,
In my application i need to create text boxes dynamically,by in putting the number in one particular text box i need to create that much number of text boxes dynamically.After that i need to display the entered values of the text boxes to the UI.Can any body help in these situation.
Thx in advance,
Regards,
Subbu.
|
|
|
|
|
|
I have a shopping cart site. I am storing products choosing in the session. How can i help me to capture event when user clicks the Close button (X button on the right top) to exit the Browser.
Thank in advance
vtkiet05
|
|
|
|
|
You can use onunload event of javascript. Something like this
Good Luck.
|
|
|
|
|
Thank you for reply. Your code will always display message whenever the page closed. That mean user has still not close Browser, they click other items on page the message display too.
Actually, I only confirm to user if they clicked Close Button (X buton on the right top )
Thank all your help
vtkiet05
-- modified at 0:33 Wednesday 4th July, 2007
|
|
|
|
|
>>Thank for your reply, Could you test the case which you link to other page?
>>I think that the message will displays. I don't want to display a message >>this case. I would like to display a message if user clicked Close Button (X >>button on the right top)
>>Thank all your helps
chk it out. hope it would help..
<code>
<!-- Warning if user is exitting Browser -->
<script type="text/javascript">
var UNLOAD_MSG = "You will lose any unsaved changes!";
var IGNORE_UNLOAD = true;
function doBeforeUnload()
{
if(IGNORE_UNLOAD) return; // Let the page unload
if(window.event)
window.event.returnValue = UNLOAD_MSG; // IE
else
return UNLOAD_MSG; // FX
}
if(window.body)
window.body.onbeforeunload = doBeforeUnload; // IE
else
window.onbeforeunload = doBeforeUnload; // FX
</script>
<!-- Check if user has shopped product -->
<script type="text/javascript">
function CheckOrder(isChanges)
{
IGNORE_UNLOAD = isChanges;
}
</script>
<body onload="CheckOrder(false);">
<form>
<!-- .....-->
<a href="http://michaelsync.net" onclick="CheckOrder(true);">mike</a>
</form>
</body>
</code>
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hello,
I am stating to learn how to make the crystal report. Using the report expert, I followed the wizard on how to make the crystal report. I used the standard format for me to be able to have the report and a chart.
Is it possible to only have the chart to show in my report? How? Can you give me a little tutorial?
Thank you very much in advance.
|
|
|
|
|
I have a code:
var UNLOAD_MSG = "You will lose any unsaved changes!";
var IGNORE_UNLOAD = true;
function doBeforeUnload()
{
if(IGNORE_UNLOAD) return; // Let the page unload
if(window.event)
window.event.returnValue = UNLOAD_MSG; // IE
else
return UNLOAD_MSG; // FX
}
if(window.body)
window.body.onbeforeunload = doBeforeUnload; // IE
else
window.onbeforeunload = doBeforeUnload; // FX
function CheckOrder(isChanges)
{
IGNORE_UNLOAD = isChanges;
}
The code above will confirm user whenever they try to exit a page if value of GetStatus() function is 'false'.
Actually problem the user has still not exit browser, they link to other pages
in the website but they always receive the message "You will lose any unsaved changes!". So I only want display a message when user is closing the Browser (Click "X" button).
Thank in advance.
vtkiet05
|
|
|
|
|
I dont think it can be done like that ..
all you can do is that you may need to set the statas "IGNORE_UNLOAD" to true manually in each and every click event of "A" tags.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Thanks Michael for your reply.
My exactly problem here is that I can't catch exactly the event when I click X button to close a browser. I tried to use unload event, but the big issue happened. Closing a browser and linking to other page are unload event, so the message always displays when i do both actions. I really want to catch the closing browser event(click on X button) only. Please send me any your solutions.
Thanks for all help.
vtkiet05
|
|
|
|
|
try "onunload" event of body..
I hav tested ur sample. it shows the msg when i click "x" button of your browser..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Thank for your reply, Could you test the case which you link to other page?
I think that the message will displays. I don't want to display a message this case. I would like to display a message if user clicked Close Button (X button on the right top)
Thank all your helps
vtkiet05
|
|
|
|
|
vtkiet05@hotmail.com wrote: I don't want to display a message this case. I would like to display a message if user clicked Close Button
What do you want to do ? Display confirmation message when user closing browser window ?
|
|
|
|