|
ya Imran
you can do that by capturing the IE close event in the javacript
|
|
|
|
|
yes write a function on body onbeforeunload
function unloadEvent()
{
if(window.screenLeft < 10004)
{
page refresh
}
else
{
close button is click do here what you want to do before closing
}
}
-- modified at 7:22 Monday 13th November, 2006
|
|
|
|
|
Hi sandeep
I have tried but I got no result.
whatz mean of window.screenleft>10004?
OnBeforeUnload event is fired on every cotrol events.
Pathan
|
|
|
|
|
I Want to take a <b><asp:commandbutton></b> in a <b><datagrid> <column> </column> </datagrid></b> how can i implement a function on that so i can pick a value of those row of datagrid value for another WebPage.
gaurav awasthi
jainir s/w services
kota
|
|
|
|
|
Your question is not very clear. Do you want to send some selected value to the next page if so then you can use querystring or store it in session.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi All,
I want to show a Hindi keyboard on my aspx page.
the user can type anything from that keyboard like a regular keyboard by clicking the buttons on it.
How can i do that.
Thanks & Regards
Kapil
|
|
|
|
|
Here in my project,I want to invoke an exe from webpage. It shows more nos. of security errors.
Is this possible to do???.
I am struggling for the pas t 2 weeks.
Anyone help please..............
Advance thanks,
Regards,
C.Babu
C.Babu B.E.,
|
|
|
|
|
what type of errors do you get? Let me know it in detail.
Regards,
Satips.
|
|
|
|
|
I am getting System.Security.Security Exception
System.Security.SecurityException: Request failed.
at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)
at System.Security.CodeAccessSecurityEngine.CheckSetHelper(CompressedStack cs, PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Assembly asm, SecurityAction action)
at coding.UserControl1.button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The action that failed was:
LinkDemand
The type of the first permission that failed was:
System.Security.PermissionSet
The Zone of the assembly that failed was:
Intranet
C.Babu B.E.,
|
|
|
|
|
i want that ,when i click on button ,then it will print that page in asp.net
gaurav awasthi
jainir s/w services
kota
|
|
|
|
|
You can use javascript for that purpose. What you need to do is to call a javascript function on click of the button where you have use window.print(in the javascript function).
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi! i want to mouseover event on the drop down list & set backcolor for items & alternative item just like datagrid help me
SAMir Nigam
|
|
|
|
|
Unfortunately that's not possible with a standard ddl - though there are a couple of articles on this very site that implement custom controls to do so...
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
i have a datagrid and i bound it from database. i can do edit and delete on datagrid with select a row but i cant insert new record on datagrid how can i do this?
|
|
|
|
|
u insert the item to the database and rebind
Best Regards
3ala2
|
|
|
|
|
Hi
If u want to insert a blank row into the datagrid then u can use datarow.
create a datarow as per ur fields in grid. Keep the values of datarow as null. Insert that datarow in the datatable and bind the grid again with the new datatable u created.
I hope i understand ur question
Nitesh
|
|
|
|
|
hello Every One,
i m facing an problem. my project is running in mozila not in internet explorer.pls provide me solution of my problem.
thanx
rahul saini
|
|
|
|
|
For anyone to be able to provide you with any information towards a solution, you have to supply a bit more information.
Exactly what do you mean when you say that your project "is not running" in Internet Explorer? What happens? What is it that doesn't work? Do you get any error messages?
What version of Internet Explorer have you tried it in?
---
b { font-weight: normal; }
|
|
|
|
|
thanx for showing interesting in my post. Actually i hav made controls and all these controls r in an single folder name my_control. my_webform.aspx in myfolder001 and dis folder created dynamically my_webform.aspx includes dis control and when i execute <http://loaclhost/mySite/myfolder001/my_webform.aspx>
mycontrol contains a simple form inserting data into tables.
dis webform does not postin in internet explorer and working fine in mozila.
waiting...
rahul saini
|
|
|
|
|
i have an asp.net bound column. this column gets it values from the dataset. the values displayed are displayed as 123456. i want it to be displayed as 1,23,456.
i tried using dataformatstring="{0:n}, but is of no use.
please help.
-- modified at 4:08 Monday 13th November, 2006
|
|
|
|
|
You should use the DataFormatString property to format the data as you wish.
In your case it would be something like: {0:#,###}
|
|
|
|
|
it does not work. the numbers still show up without any formatting
|
|
|
|
|
|
<code>
<asp:boundcolumn datafield="Visits" headertext="Visits" dataformatstring="{0:#,###,###}" >
<headerstyle width="100px" cssclass="blackFont"></headerstyle>
<itemstyle horizontalalign="right" width="100px" verticalalign="middle"></itemstyle>
</asp:boundcolumn>
</code>
|
|
|
|
|
You can take help of this.[^]
Best Regards,
Apurva Kaushal
|
|
|
|