|
but i think we dint solve the requirement here.The question was how do we expire a session when browser back button is pressed?
i would also like to know how to abandon a session in case of browser close event.
any suggestion or help is welcome
thnks for ur effort
Rama Charan Prasad
"Be happy and Keep smiling.Thats what u want be always.. "
|
|
|
|
|
i hav a pblm with gridview with template control.
i hav the gridview with textbox as template control
hw can i get the values in the textbox. i want it to savve
im using asp.net2.0 using c#
|
|
|
|
|
|
Stop spamming the forum and keep your advertisement with you.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Hey...
Dont spam the site....Moderators please take notice
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
_mubashir wrote: Dont spam the site....Moderators please take notice
In order to alert the admins please press the "spam" button on the relevant post.
|
|
|
|
|
Hi,
Get the gridviewrow from which you want to take the textbox value and use findControl method to find the textbox and when u get the textbox get its Text property.
GridViewRow rw = gv.Rows[2];
TextBox txt = (TextBox)rw.FindControl("txtData");
string value = txt.Text;
Here in above code I am getting value from the textbox which is there in the 3rd row of the gridview.
I hope this code will help u.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
I had to generate a Word Report with password.
Upon the request from the clients the application will create a Word Report at the server(where Word 2000 is installed) closed that file, exported the same to the client system. After that the file is deleted from the server.
But in some client system some gif files were not getting loaded(There also it was using Word 2000). Actually i tested from 5 to 6 machines which have been installed Word 2000. It was getting loaded at some and not at the other.
But it was also not getting loaded at the systems where Word 2003 is also installed.
But whatever the client is the file is generated correctly at the server before it is exported. I have checked that by commenting the code that deletes the file at the server.
Please help....
O
|
|
|
|
|
How to execute exe in ASP.NET and retrieve the output form the exe.
Rickey
|
|
|
|
|
Rickey_Me wrote: How to execute exe in ASP.NET and retrieve the output form the exe.
Same way as in any other .NET application. With System.Diagonstics.Process.Start()
|
|
|
|
|
I tried it but how to set input parameter and get the output from the exe.
Rickey
|
|
|
|
|
OK...
you can set input parameters using 'Arguments' property located in ProcessInfo.
e.g,
<br />
Dim pinfo As New System.Diagnostics.ProcessStartInfo<br />
pinfo.Arguments = "myagr1 myarg2 myarg3"<br />
pinfo.FileName = "C:\MyExe.exe"<br />
Now to read the output from the exe, you need to set
pinfo.RedirectStandardOutput = True
And read the output as follow,
<br />
Dim p As System.Diagnostics.Process<br />
p = p.Start(pinfo)<br />
p.WaitForWxit()<br />
Dim str as string = p.StandardOutput.ReadToEnd<br />
Hope it helps
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
haneef1 wrote: I am b.tech graduate in inforamtion technology. One year exeperience in .net, presently working
in delightsoft hyderabad.
Thats nice
haneef1 wrote: Want to be earn money just surfing websites ( opening the websites in specied broswer call ougo
it's fress try now)
Dude go home and take rest.
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... "
|
|
|
|
|
thanks i will try.
Rickey
|
|
|
|
|
Hi all,
My WebService WebMethod is returning DataSet. my wsdl content is like this
<NewDataSet xmlns="">
<ConsumerReport diffgr:id="ConsumerReport1" msdata:rowOrder="0">
<Initials>S</Initials>
<FirstName>S</FirstName>
<Surname>MVUNDURA</Surname>
<IDNo>7102095092182</IDNo>
<BirthDate>19710209T00:00:00.0000000+02:00</BirthDate>
<Gender>Male</Gender>
<TitleDesc>Mister</TitleDesc>
<ReferenceNo>T608575870</ReferenceNo>
<ExternalReference />
</ConsumerReport>
<ConsumerReport1 diffgr:id="ConsumerReport11" msdata:rowOrder="0">
<Initials>S</Initials>
<FirstName>S</FirstName>
<Surname>MVUNDURA</Surname>
<IDNo>7102095092182</IDNo>
<BirthDate>19710209T00:00:00.0000000+02:00</BirthDate>
<TitleDesc>Mister</TitleDesc>
<LastUpdatedDate>20061021T00:00:00.0000000+02:00</LastUpdatedDate>
</ConsumerReport1>
i need to display displayName node before the ConsumerReport node. like this...
<NewDataSet xmlns="">
<displayname>THIS IS CONSUMER PERSONAL INFORMATION</displayname>
<ConsumerReport diffgr:id="ConsumerReport1" msdata:rowOrder="0">
<Initials>S</Initials>
<FirstName>S</FirstName>
<Surname>MVUNDURA</Surname>
<IDNo>7102095092182</IDNo>
<BirthDate>19710209T00:00:00.0000000+02:00</BirthDate>
<Gender>Male</Gender>
<TitleDesc>Mister</TitleDesc>
<ReferenceNo>T608575870</ReferenceNo>
<ExternalReference />
</ConsumerReport>
<displayname>THIS IS CONSUMER TRACE ID INFORMATION</displayname>
<ConsumerReport1 diffgr:id="ConsumerReport11" msdata:rowOrder="0">
<Initials>S</Initials>
<FirstName>S</FirstName>
<Surname>MVUNDURA</Surname>
<IDNo>7102095092182</IDNo>
<BirthDate>19710209T00:00:00.0000000+02:00</BirthDate>
<TitleDesc>Mister</TitleDesc>
<LastUpdatedDate>20061021T00:00:00.0000000+02:00</LastUpdatedDate>
</ConsumerReport1>
How to Handle through the code. is there any method availble to add node in dataset?
please help me.
regards
GV Ramana
|
|
|
|
|
stop this type of spam. this site is for knowledge sharing.
administrator please stop this type of spam
regards
GV Ramana
|
|
|
|
|
Ramana. G.V wrote: administrator please stop this type of spam
In order to stop spam, please press the "spam" button in the relevant post. The administrator will then be alerted to its presence.
|
|
|
|
|
Hi guys,
First time poster be gentle :p.
Iv been playing with Fiddler ( a http debugging util) lately and noticed that CodeProject has no compression enabled. The code project front page shrinks from 53kb to 13kb !!!, that's a huge improvement.
Whats the pro / cons of having compression enabled for a site. Why would we not have compression enabled ?
The only cons I can think of is,
1. Extra overhead to compress content on the servers (codeprojects, 15k online members ?), how would one create a benchmark/test for this?
2. Older browsers not supporting compression?
Been using blowery compression on our back office systems (50-100 users) and its making a huge improvement.
Reynard
(mind the english)
|
|
|
|
|
Stop all this.
Administrator, Please deny him.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Chetan Ranpariya wrote: Administrator, Please deny him.
Please press the "spam" button on the relevant post to alert the admin to rubbish like this.
|
|
|
|
|
Hello there
I have a DataGrid with the width set as 100% and several individual ItemTemplates controlstyles width set to a fixed size in px. Now I want to set the last one to fill out the rest of the space. I thought the syntax for that was * however that does not work and I fail at google at the moment. Anyone have any ideas?
Thank you for your help.
|
|
|
|
|
IMO, set the last one to 100% as well...
<< >>
|
|
|
|
|
Don't set width for the last column. think it'll automatically fits into the remaining space...if the earlier columns are of fixed width.
mareers
|
|
|
|
|
Don't specify any width for that...i think it will fill out with rest of the space or else try with width=100% for that column
Koushik
|
|
|
|
|
i want to call a class function from one javascript function.is it possible?Actualy wat i want means .i have html and aspx files.In both files i am allowing user to enter username and password .for that i want to create a component or usercontrol using html and javascript.if anybony knows please help me.....
|
|
|
|