|
hi
i want to declare width and height for webform.
or how to resize the webform
Gayatri
|
|
|
|
|
window.open("test.aspx","POPUP","height=500, width=700,status= no, resizable= yes, scrollbars=yes, toolbar=no,location=no,menubar=no,left=200,top=250,directories=no ");
Thanks,
Sun Rays
|
|
|
|
|
if you got the answer of ur problem then please tell me.
Mohinder Singh
|
|
|
|
|
Hello
How can i find square of number in javascript ?
I mean 10 * 10 = 100
|
|
|
|
|
u can write function as below.
function squareOfNumber(no)
{
return no * no;
}
Thanks,
Sun Rays
|
|
|
|
|
Good afternoon!!
After login , I dont want user to go back to the login page again through browser's back button.
User wil go to the Login page only after logout.
Please suggest some solution.
Thank You.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
hi,
your page1.aspx will be your login page.
after login you will redirect your page1.aspx on page2.aspx
use below code on page2.aspx
window.history.go(+1);
Thanks,
Sun Rays
|
|
|
|
|
The problem will when to call this function
So the best way is to call another i.e open a aaplication in new window with toolless or way you want and close the current one call it from default page which will start your aaplication in new window
function open_PopupWindow()
{
window.open('Login.apsx','null',"height=500, width=600,status=yes,toolbar=yes, menubar=yes,location=no");
}
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
when u will click on Back button of IE it will not allow to go back to login page..
Thanks,
Sun Rays
|
|
|
|
|
Hi all,
I have a enum in a user control UC1.
I want to access that enum in another user control UC2..
How to do that in ASP.NET/C#?
THANKS IN ADVANCE,
CST
|
|
|
|
|
It's not good practice to have one control depdendent on another. You would be better to take the enum to another class within your application and have both controls reference that class.
|
|
|
|
|
Hi all,
I would like to know how to call a function from a control in aspx page..
Thanks,
CST
|
|
|
|
|
from where u want to call function ??
please describe..
Thanks,
Sun Rays
|
|
|
|
|
Hi,
like i have a function LoadItems()
I tried to call it as:
<uc1:menu id="Menu1" runat="server" menutoload="<%#LoadItems() %>">
But it is giving error..
Thanks,
CST
|
|
|
|
|
if u need to call the function on button click..
<asp:button id="test" onclick="LoadItems">
Thanks,
Sun Rays
|
|
|
|
|
i want popup window like small form.
then how can i resize the webform.
Gayatri
Gayatri
|
|
|
|
|
use js function window.open(...)
I cannot remember exactly the parameters...but you can search this to specify the size of window
<< >>
|
|
|
|
|
Hi all
i am new in asp.net and
i want to resize my webform.
pls help me
Gayatri
Gayatri
|
|
|
|
|
resizing for which purpose??
|
|
|
|
|
private void SampleFunction()
{
try
{
response.redirect("somepage");
}
finally
{
response.write("finally");
response.end();
}
}
Consider the above code , in this what do you think, will finally block executes ? If not Why ?
|
|
|
|
|
Hi
Finally part will not be called as you are redirecting to some other page. If there is an exception in the try block before redirecting to that page then finally will be displayed
Harini
|
|
|
|
|
Hi All,
I have an EnvirounmentalVariable (i.e. %VsRoot%) to point to devenv.exe under 2002)---->This is in VisualStudio 2002
I need to Create a new Envirounmentalvariable (i.e. %VsRoot1%) to point to devenv.exe under 2003 .
How to create a new EnvirounmentalVariable.
Thanks to all Repliers,
|
|
|
|
|
I am not sure...but you can create env variables by right-click on My Computer...
<< >>
|
|
|
|
|
Hi Can you please tell me about the free / open source blogs available in ASP.Net 2.0
Any database will do.
Please provide links if possible.
Thanks ..
Deepak Surana
|
|
|
|
|
i want the best material for state management
|
|
|
|