|
|
thanku my dear
it working but its work on double enter key press i wanna on single enter key pressss
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
I think some problem in ur page.........Its working fine with me
|
|
|
|
|
no there no any problem in my page it working but on double Hitting
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
can u send me what u have written
|
|
|
|
|
<asp:scriptmanager id="ScriptManager1" runat="server">
<asp:updatepanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:timer id="Timer1" runat="server">
<asp:textbox id="txtChatWindow" runat="server" height="302px" textmode="MultiLine"
="" width="305px" readonly="True">
<asp:textbox id="txtwrite" name="txtwrite" runat="server" width="228px" style="position: static" ontextchanged="txtwrite_TextChanged">
<asp:button id="btnsend" runat="server" text="send" width="65px" style="position: static">
<asp:button id="Button1" runat="server" style="left: -241px; position: relative;
top: 27px" text="back to home page">
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
Hi friend
After Hitting the key I want cursor focus back on text box how it possible can u help me. I am also using ajax panel all control in ajax panael.
My code for the Focus back on textbox
txtwrite.Focus()
but is work when textbox out of panel
help me
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
can i reduce the access time by using the java script in the case of database connectivity?
|
|
|
|
|
Can it be possible as the database is not in local machine it is at the server side And if not access the database from client side is security breach
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... "
|
|
|
|
|
Can you tell me the business scenario ... what are you storing in the database ?
And how are you retriving the the data from it ?
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... "
|
|
|
|
|
all i have to do is to check for the user name and password.
|
|
|
|
|
Hi Nilish
Then you should not get any problem
i think you are validating the userid and password from database Check only once then put both things in Session varaible and check from this varaibles .
What the problem you are facing while retriving is it taking more time ?
i didn't get any mail from your side.
Maine apko mail mail bheja tha but you have not provided any mail id
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 all,
I am developing a web application using asp.net(vb).
I need to handle the custom exceptions.
i have created a custom exception class which inherits the properties of Application Exception.
i need to display a custom error to the end user using that class by catching the exception.
For Example:
i have a function which checks for the input value
if that value is less than the expected value i have to catch it as an exception and displays a user friendly message through my custom exception class .
how to do it???
give me some sample code if Possible.........
thank u all......
Regards
Krishsenthilraj
|
|
|
|
|
Hi Krishsenthilraj,
you can user Enterprise library provided by microsoft.
and second option is to handle and exception and write a logger for it and then redirect to one common page which will display an user friendly error messsage to the user.
In case of any futher help let me know
Rahul Goel
Microsoft Cerfied Solution Developer .Net
Contact me at : rahul.g2510@gmail.com
|
|
|
|
|
I have an application which has an entry screen and view screen. In my home page i have a menu which has links to both these screens. Depending upon the person loggin in, MenuItems gets changed. But a person who doesnt have acess to Entryscreen.aspx, can type it in the URL and can get acess to that page. How do we block them.
|
|
|
|
|
Don't Cross post in Multiple Forums.
Regards,
Satips.
|
|
|
|
|
Ok i have removed it......Can u answer this
I have an application which has an entry screen and view screen. In my home page i have a menu which has links to both these screens. Depending upon the person loggin in, MenuItems gets changed. But a person who doesnt have acess to Entryscreen.aspx, can type it in the URL and can get acess to that page. How do we block them.
|
|
|
|
|
In our web applications we use a base class for all "normal" pages. This page class checks whether the user has access rigths to this page. If not then the user is redirected to a no permission page.
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Hi
On the page load query database to check whether currently logged in user have permission to access the page. If not redirect him to a permission denied page. An alternative would be using HTTP module and checking the incoming request.
Happy Programming
|
|
|
|
|
hi
i have dialogbox which is open on cellclick of farpoint spreadsheet.
my code is
private void fpAnaAssgn_CellClick (object sender,FarPoint.Web.Spread.SpreadCommandEventArgs e)
{
Respose.Write("<script language='javascript'> { window.ShowDialog() }</script>");
}
but its not working and it did,t have any error.
pls help me
gayatri
Gayatri
|
|
|
|
|
Hi gaythri
I think I have already replied to you on an earlier post. Is it ?
|
|
|
|
|
Hi Everyone,
I have an issue with clearing out session variables in the StateServer mode. In my application an administrator can logout other users i.e. can end their sessions. I dont know how to achieve this in .NET 2.0
Any help would be really appreciated.
Thanks in advance
|
|
|
|
|
Nathan Buckley wrote: I have an issue with clearing out session variables in the StateServer mode.
To clear the Session use either of the following:
Session.Abandon();
or
Session.Clear();
The difference between the Session.Abandon() and the Session.Clear() method is that if you call Session.Abandon(), Session_End will be fired (for InProc mode) and in the next request, Session_Start will be fired. Session.Clear( ) just clears the session data without killing it.
Regards,
Satips.
|
|
|
|
|
For what I know, you can't access Session data of a different session than the session of the current request. Therefore you can't clear an other session from within the "administrator" session.
We solved a similar problem by holding a list of all users that is updated whenever a user makes a request. When the admin kicks a user then we write this info into this list and in the next request of this user he gets kicked and his session is abandoned.
That means on every request it is checked whether the current user has to be kicked.
Happy programming
Urs
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Hi there,
To anybody out there with knowledge in encryption...
I've made a cookie implementation to encrypt the cookie using a third party DLL which used AES asymetric encryption.my problem is how to decrypt the encrpted cookie if all the keys have been cleared after an event called Login button has been clicked?
thanks for your time
napskie
|
|
|
|