|
hi all,
i am performing an operation (which take some time assume 1 min )
and the user closes the browser .
Will processing of that page continues or exits suddenly when client closes the browser (or client system hanged and restarted)?
any suggestions or links are welcome..
thnks in advance
Rama Charan Prasad
"Be happy and Keep smiling.Thats what u want be always.. "
|
|
|
|
|
rama charan wrote: Will processing of that page continues or exits suddenly when client closes the browser (or client system hanged and restarted)?
It will continue :-> :->
rama charan wrote: or client system hanged
Might be possible if you are doing any heavy work and your pogramme get stuck in infinite loop or Block some where
rama charan wrote: and restarted)?
Never seen
-- modified at 3:59 Wednesday 9th May, 2007:->:->
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... "
|
|
|
|
|
thansk for your help
The issue here is .i need to do some payment processing at server which may take some time on server ..All the code of waiting till process is complete is in the server code at web page .
and hence client system is no way needed for it but page should be living to process the code right?.
And about client system getting hanged ,It need not be due to my application but i can due to other reasons like another local windows application hanged and client user uses end task which is a possible case wherin our dear IE can also can get closed (i have seen cases ).
i think i am clear now right
Rama Charan Prasad
"Be happy and Keep smiling.Thats what u want be always.. "
|
|
|
|
|
Sandeep Akhare wrote: Suppose you are writting a big file on the server side that takes one min to write but in mean time after 15 sec user close the browser that time the file will not save
Not true. Closing the browser does not stop the code running on the server.
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa wrote: Closing the browser does not stop the code running on the server.
Thanks for making the picture clear
Can i get any article or documenation regarding this
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... "
|
|
|
|
|
rama charan wrote: Will processing of that page continues or exits suddenly when client closes the browser
It will continue.
You can check the Response.IsClientConnected property to find out if the browser is still waiting for the response. There is no "browser close event", nothing happens on the server if the browser stops waiting for the response. You have to actively monitor this propery in the code if you want the code to be aware of it. Otherwise the code will complete regardless if there is any browser waiting for the response or not.
-- modified at 3:08 Wednesday 9th May, 2007
---
single minded; short sighted; long gone;
|
|
|
|
|
thnak you i am clear now
can u just also help me out with the other question i just posted above this with application upgradation issue.
thnsk for your effort
Rama Charan Prasad
"Be happy and Keep smiling.Thats what u want be always.. "
|
|
|
|
|
Hi all,
I have to create content management for a website...
how should i start ...
what should i refer....
pls help me..
Thanx in advance
|
|
|
|
|
The article by Declan Brennan[^]
here in CP will help you in developing the content Management.
Regards,
Satips.
|
|
|
|
|
Hi friends,
I want to develop a touch screen system.
So, if anybody have any idea of this, PLEASE explain me.
Thanks in advance.
Rohit Rathod:
|
|
|
|
|
Hi to all,
I want to bind DropdownList inside the DataGrid. If you have the code or Examples Please Paste it.
Mkanchha
|
|
|
|
|
Hi,
Find the dropdown list control in the DataItemBound method of data grid method.
and here you can use the dropdown list.
Regards,
Rohit Rathod
Contact: +91 9898891036
|
|
|
|
|
Thanks for your Reply, If you have example Please Paste it
Mkanchha
|
|
|
|
|
Hi Friend,
You want to do following steps.
************************************************
1.Add a new SqlDataSource.
2.In the page load function give
SqlDataSource1.ConnectionString = "server=yourserver;Integrated Security=yes;Database=yourdatabase"
SqlDataSource1.SelectCommand = "SELECT [field1], [field2] FROM [yourdatabase]"
After these in the designe phase you should give connection to drop down list
<asp:DropDownList ID="DropDownList1" runat="server" Width="156px"
DataSourceID="SqlDataSource1" DataTextField="field1">
************************************************************
thats all....
try....
Sherin Iranimose
|
|
|
|
|
You can do all these things at designe time.
it is difficult to explain.But it is easy.
try it yourself.
Sherin Iranimose
|
|
|
|
|
Hi,
You can bind Dropdownlist inside ItemTemplate of Datagrid.The following my code:
<br />
<asp:GridView ID="GridView1" runat="server"><br />
<Columns><br />
<asp:TemplateField><br />
<ItemTemplate><br />
<asp:DropDownList ID="DropDownList1" runat="server"><br />
</asp:DropDownList><br />
</ItemTemplate><br />
</asp:TemplateField><br />
</Columns><br />
</asp:GridView><br />
|
|
|
|
|
Thanks for your Replay, But Where is the Serverside code to bind the DropDownList
Mkanchha
|
|
|
|
|
Hi,
I have a usercontrol.It is having a dropdownlist dp1. I want to know how to bind/associate events to that usercontrol. For e.g. if i place that usercontrol on a web page then on the selected index change of the dropdownlist(dp1) of the usercontrol, i want an event to get fired.
Does anyone have a clue on how to do it.
Note: The dropdownlist(dp1) is generated using html and is not used directly from the toolbox.
Thanks,
Riz
|
|
|
|
|
Rajiya wrote: The dropdownlist(dp1) is generated using html and is not used directly from the toolbox.
Are you talking about custom control ?
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... "
|
|
|
|
|
ya...it is a custom control.
Below is the code used for creating the control:
<LINK href="toolTip.css" type="text/css" rel="stylesheet">
<script language="javascript" src="toolTip.js"></script>
<OBJECT id="combo" style="WIDTH: 156px; HEIGHT: 24px" height="24" width="156" classid="clsid:8BD21D30-EC42-11CE-9E0D-00AA006002F3"
name="combo" VIEWASTEXT>
<PARAM NAME="VariousPropertyBits" VALUE="746604571">
<PARAM NAME="BackColor" VALUE="16777215">
<PARAM NAME="ForeColor" VALUE="2147483656">
<PARAM NAME="MaxLength" VALUE="0">
<PARAM NAME="BorderStyle" VALUE="2">
<PARAM NAME="ScrollBars" VALUE="0">
<PARAM NAME="DisplayStyle" VALUE="7">
<PARAM NAME="MousePointer" VALUE="1">
<PARAM NAME="Size" VALUE="4128;635">
<PARAM NAME="PasswordChar" VALUE="0">
<PARAM NAME="ListWidth" VALUE="4000">
<PARAM NAME="BoundColumn" VALUE="1">
<PARAM NAME="TextColumn" VALUE="65535">
<PARAM NAME="ColumnCount" VALUE="1">
<PARAM NAME="ListRows" VALUE="8">
<PARAM NAME="cColumnInfo" VALUE="0">
<PARAM NAME="MatchEntry" VALUE="1">
<PARAM NAME="ListStyle" VALUE="1">
<PARAM NAME="ShowDropButtonWhen" VALUE="2">
<PARAM NAME="ShowListWhen" VALUE="1">
<PARAM NAME="DropButtonStyle" VALUE="1">
<PARAM NAME="MultiSelect" VALUE="0">
<PARAM NAME="Value" VALUE="">
<PARAM NAME="Caption" VALUE="">
<PARAM NAME="PicturePosition" VALUE="458753">
<PARAM NAME="BorderColor" VALUE="0">
<PARAM NAME="SpecialEffect" VALUE="3">
<PARAM NAME="Accelerator" VALUE="2">
<PARAM NAME="GroupName" VALUE="">
<PARAM NAME="FontName" VALUE="Arial">
<PARAM NAME="FontEffects" VALUE="1073741824">
<PARAM NAME="FontHeight" VALUE="170">
<PARAM NAME="FontOffset" VALUE="0">
<PARAM NAME="FontCharSet" VALUE="0">
<PARAM NAME="FontPitchAndFamily" VALUE="2">
<PARAM NAME="ParagraphAlign" VALUE="1">
<PARAM NAME="FontWeight" VALUE="200">
</OBJECT> <!-- code for the combo box-->
<P></P>
</A>
I want to know how to add events or event handlers to it.
regards,
Riz
|
|
|
|
|
Rajiya wrote: <object id="combo" style="WIDTH: 156px; HEIGHT: 24px" height="24" width="156" classid="clsid:8BD21D30-EC42-11CE-9E0D-00AA006002F3"
="" name="combo" viewastext="">
I think it is not ASP control
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... "
|
|
|
|
|
Assuming that you have have developed a proper custom control
now you can add events to it take a look at this example
http://msdn2.microsoft.com/en-us/library/aa720416(VS.71).aspx[^]
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... "
|
|
|
|
|
Hi,
I went through the link that u had suggested but did not get the information that i needed. Do u have any other link which cud give me the necessary details.I wanted to know how cud i get the selected index change event of that particular custom dropdownlist. Is is not an asp.net control.
Regards,
Riz
|
|
|
|
|
Hi friends,
I got problem when i redirects from one http page to other https page then , my page from which i am redirecting is reloads first time.
can any one tell me why this is happening ?
i have simple anchor tag like <a href="https://....>Registration</a>
when i click on that my page which contains that anchor tag is reloaded.
is it necessary to set "requireSSL="True"" in web.config for this type of redirection in same application.
Thanks.
-- modified at 5:09 Wednesday 9th May, 2007
Chirag Patel
|
|
|
|
|
Your anchor tag is not visible. Modify your message and use ignore HTML tags option.
|
|
|
|