469,265 Members | 2,020 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,265 developers. It's quick & easy.

MaskedTextBox for IP address

viswammamilla
Hai to everyone.I need a help

I have an application,in this user want to type his IP address.I want MaskedtextBox for IP address format like 192.168.0.10 like this,in my toolbox i didnt have masked textbox control,so please help me,please its urgent
Dec 1 '08 #1
9 25267
PRR
750 Expert 512MB
set the Mask MaskedTextBox.Mask Property (System.Windows.Forms)
as 000.000.000.000
Do google for gettin your doubts clear
Dec 1 '08 #2
where can i find maskedtextbox
Dec 1 '08 #3
there is no control in my toolbox named as maskedtextbox,even i custmize the toolbox,but still i didnt get that please help me
Dec 1 '08 #4
PRR
750 Expert 512MB
Masked Text Box is available for windows form... For asp.net use MaskedEditASP.NET AJAX extender
Dec 1 '08 #5
hai very very thanks for u reply
Dec 2 '08 #6
having another problem iam facing plese help me


Hai i did one application ,its an intranet web application using asp.net and vb.net.
Once user login into the application and did some task whenever user hits back button it will come back to one page like that so on upto login window,then when user hits the forward button directly user getting into that application without entering certain details,so please help me please its urgent very very
Edit / Delete
Dec 2 '08 #7
help me please.already i send my problem,please verify and help me
Dec 2 '08 #8
<script language="javascript" type="text/javascript">
function NumericOnly()
{
var key = window.event.keyCode;

if (key <48 || key >57)
window.event.returnValue = false;
}
<table>
<tr>
<td align="right" style="width: 100px; height: 28px">
<strong style="font-size: 10pt">IPAddress:</strong></td>
<td><input size="2" type="text" maxlength="3" onkeypress="NumericOnly()" id="IP1" runat="server" style="font-size: 9pt; font-family: Verdana" /></td>
<td style="font-size: 10pt;">.</td>
<td><input size="2" type="text" maxlength="3" onkeypress="NumericOnly()" id="IP2" runat="server" style="font-size: 9pt; font-family: Verdana" /></td>
<td style="height: 28px">.</td>
<td><input size="2" type="text" maxlength="3" onkeypress="NumericOnly()" id="IP3" runat="server" style="font-size: 9pt; font-family: Verdana" /></td>
<td style="height: 28px">.</td>
<td><input size="2" type="text" maxlength="3" onkeypress="NumericOnly()" id="IP4" runat="server" style="font-size: 9pt; font-family: Verdana" /></td>
</tr>
</table>
Dec 3 '08 #9
PRR
750 Expert 512MB
@viswammamilla
As this is a separate question it would be better if you posted a new thread..
Do read Posting guidelines
Are you using Form Authentication
You may need to clear cache perhaps?
Expand|Select|Wrap|Line Numbers
  1. Response.Expires = 0;
  2. Response.AddHeader("pragma", "no-cache");
  3. Response.AddHeader("cache-content", "private");
  4. Response.CacheControl = "no-cache";
  5.  
Look at this for back button
Check on every page if user is authenticated or not ... If not redirect to Login page ...
Dec 3 '08 #10

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Mauricio C Vidotto | last post: by
1 post views Thread by Jazer | last post: by
4 posts views Thread by TyBreaker | last post: by
1 post views Thread by Craig | last post: by
1 post views Thread by =?Utf-8?B?anAybXNmdA==?= | last post: by
1 post views Thread by eljainc | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.