|
Hi,
I think IIS should be installed in your server.
Use publish web site in build menu. specify a folder in target location
copy that folder to C:\inetpub\wwwroot
give web sharing for the folder.
then try http://yourservername/foldername/loginpage.aspx
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
after deploying u r application on windows server(iis) no need of .net installed on u r client PC and also in u r server pc, but in server PC .net frame work should be installed.
and if u want to access u r application which is deployed in the server system from client PC u have to give the server PC ip address or server PC name must and should, it will work.....
Pradeep Reddy
|
|
|
|
|
1. Install IIS
2. Create a virtual directory in the iis websites/default websites and it should point to your home page directory. Keep your home page name as default.html or index.html. Eg:- MyHome
3. Desable firewalls if any.
4. Use http:///MyHome from remote machine
Gg
|
|
|
|
|
hi..
i have to expire the page with few minutes.. and i have to expire the control which may contain question.. within few seconds...
rgs
Bala
|
|
|
|
|
I'm not sure what you need...but you can try with session time out which is configured in web.config file
<< >>
|
|
|
|
|
What do you mean by expiration in this case? In what way should the page and control expire? Do you want something to happen at the moment of expiration, or do you want it to affect something else that is happening?
---
single minded; short sighted; long gone;
|
|
|
|
|
hi all,
i have a gridview which is populated with data. Now i am having delete button which is outside the grid. When i select a row in the gridview
and if i click delete button then the row should be deleted .how to do this .
pls help me out in this.
thanks
|
|
|
|
|
write as fallows in button click...........
i did it in asp.net1.1, i hope this will help u....
private void Button2_Click(object sender, System.EventArgs e)
{
CheckBox chk;
Label lbl;
string str="",streid="";
foreach(DataGridItem dgitem in DataGrid1.Items)
{
chk=(CheckBox)dgitem.FindControl("CheckBox1");
if(chk.Checked)
{
lbl=(Label)dgitem.FindControl("Label9");
str=lbl.Text;
streid =string.Concat(str,",",streid);
}
}
streid=streid.TrimEnd(',');
cmd=new SqlCommand("delete from emp where Eid in("+streid+")",con);
cmd.ExecuteNonQuery();
binddata();
}
Pradeep Reddy
|
|
|
|
|
i have to refresh a mainpage from a popup window whose parent is another popup which is opened from the main page.....
i have to do this using javascript...
can any one help me....
thank u
|
|
|
|
|
Hi,
Try, window.opener
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
Hi,
you have to add a attribute to that button during the page load event of the form that would call the popup .the code for that is like:
**********************************************
loginButton.Attributes.Add("onclick", "window.showModalDialog('/MyWebsite/login.aspx', null, 'status:no; dialogWidth:360px; dialogHeight:229px; help:no; scroll:no; menubar:no; resizable:no')");
***********************************************
This code is for modalDialog
or for popup
button.Attributes.Add ("onclick", "javascript: functiontoopenpopup();");
this will open the popup window.
In the popupwindow code....on the Page_unload you have to write this code.
*****************************************
window.close();
window.opener.location.reload();
*****************************************
This will close the popup and refresh the parent window.
Regards,
Kaps
|
|
|
|
|
Hi,
Please reply to the correct message,
Then only the poster will get a notification mail.
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
Hi,
i need to refresh the mainpage from a popup as shown below
Main Page ---> Popup1(opened from main page) ----> Popup2(opened from Popup2)
i have to refresh the mainpage when popup2 gets closed....
how can i do this....
thank u
|
|
|
|
|
Hi i am using frameset in my form...,
The one frame contain header another frame detail page...,
in that detail page want to be display based on the system propeties...,
it means in that place i dont want any scroll bars...,
the page want to be display with in that frame...,
How to do that?,
plz hlp me...,
Magi
|
|
|
|
|
if you dont want the scroll bar you can use
"scrolling=no" attribute in to a frame
I dont know, is this you are expecting...
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
ya if u give scrolling="no" it will not show scroll bars...,
But if u give like that,in that details page some of the information will be hide...,
My question is, if i give scrolling="no" also.., what are the things i have in that page everything want to be diplay with in that frame...,
Magi
|
|
|
|
|
Hi,
That is based upon how you are aligning the data in the page for display, and also the size of data...
did you try?did you stuck anywhere?
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
No actually,if user system resolution will change also..,
based upon it want to align with in the frame.....,
Magi
|
|
|
|
|
Hi friends
I have one dropdownlist populated by country names.
When I select country from dropdownlist,i am getting following error.
plz solve my problem
Invalid postback or callback argument. Event validation is enabled using <pages enableeventvalidation="true"> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Thanks in advance
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
hi..
i have a textbox containig 100 lines...
i have scrollup the text automatically on load()...
rgs
Bala
|
|
|
|
|
hi,
I think when we focus on the text box it will automatically scroll to top.
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
hi..
assume there is 100 records in datagrid.. am updating ,deleting and modifing few records...
i have to reflect d changes in database and also i know the changes made in datagrid...
rgs
Bala
|
|
|
|
|
How can I add two numbers without using + operator.
|
|
|
|
|
My frist questen would be, why you can't use
the "+ operator" ?
The only thing that I got in mind is
to go through a for-loop, increasing
the number every time.
But this won't help either, you have
to use the "++ operator".
sorry, that I can't help
I would say, that is not possible, but I'm not sure.
greetings, pdluke
|
|
|
|
|
Thank
Actually it was a question asked by some one from me in interview. Any how thank u
|
|
|
|