| how to check given value is numeric or not |
|
 |
Index ‹ Web Programming ‹ ASP/Active Server Pages
|
- Previous
- 1
- ASP.Net >> Server.Transfer in ComponentDear Group
I'm having a component (Component1) and a page (main.aspx).
Calling Server.Transfer("main.aspx")in Component1 gives me "Object
reference not set to an instance of an object." Calling it from
another page works just fine.
I'm sure I missed something to declare, import or similar and have
tried several things with no luck. I'm a beginner so any fool-proof
plain-english hints are greatly appreciated!
Thanks for your time & efforts,
Martin
- 2
- ASP.Net >> Multiple Programming Language in Code Folder (In 2.0)Hi all,
I use the new functionality described here : http://weblogs.asp.net/skoganti/archive/2004/08/08/211001.aspx
It works good when I import namepsaces from the app_code folder in the main
website.
But I can't import a namespace from the VB app_code subdir into my C# class
that's also in a app_code subdir.
Is this supported? Do I have to reference it in some way?
Thanks for the help,
Tom Pester
- 3
- ASP.Net >> ASP ApplicationHi
every time i want to develop a asp web application on my xp computer i have
the error "http/1.1 500 server erro" .. I have IIS instaled and running and
asp.net 1.1 service are running also so whats the problem .. thanx
--
Ammar S. Mitoori
IT Head QIMCO Co.
Tel : +9744831199
Mobile : +9745378400
Fax : +9744831643
- 4
- IIS >> IIS 6 alternative redirectsWith IIS 5 I could have alternative redirects, example:
*;*.html;../default_info;*;http://www.aaa.com?area=join
When the above is placed in the "A redirection to a URL"
1. First with the requested domain, return the .html file
requested.
2. If the file doesn't exist from option 1. look for the
same file in the /default_info directory.
3. If the file doesn't exist in option 1 or 2, return the
URL as the last option.
This works fine in IIS5 but the same command doesn't work
in IIS6. Has the format changed? How do I get this
redirect to work in IIS6?
Thanks,
Doug
- 5
- Frontpage Programming >> Including Pop up windows on web pageI am designing a web site for work. There is one page that is nothing but a
list of facts that I want to catogorize. The catagories will be listed and
then linked to a pop up box with the facts to be put in it. Is this possible
to do and how can I do this?
- 6
- ASP.Net >> Page DirectiveThis is a multi-part message in MIME format.
------=_NextPart_000_0064_01C3F142.6934F640
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am trying to create the Chart application from Chapter 27 in ASP.net =
Unleashed. When I go to load my page I receive the following error =
message:
Server Error in '/' Application.=20
-------------------------------------------------------------------------=
-------
Parser Error=20
Description: An error occurred during the parsing of a resource required =
to service this request. Please review the following specific parse =
error details and modify your source file appropriately.=20
Parser Error Message: The directive 'Page' is unknown.
Source Error:=20
Line 1: <%@ Page Language=3D"VB" Debug=3D"true" %>
Line 2: <%@ Register TagPrefix=3D"myControl" TagName=3D"Chart" =
Src=3D"Chart.ascx" %>
Line 3: <%@ import Namespace=3D"System.Data.SqlClient" %>=20
=20
Can anyone tell me what I might be overlooking? Any help is greatly =
appreciated!
Thanks,
Keith
------=_NextPart_000_0064_01C3F142.6934F640
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am trying to create the Chart =
application from=20
Chapter 27 in ASP.net Unleashed. When I go to load my page =
I receive=20
the following error message:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN> Server Error in '/' Application.=20
<HR width=3D"100%" color=3Dsilver SIZE=3D1>
<H2><I>Parser Error</I> </H2></SPAN><FONT=20
face=3D"Arial, Helvetica, Geneva, SunSans-Regular, sans-serif =
"><B>Description:=20
</B>An error occurred during the parsing of a resource required to =
service this=20
request. Please review the following specific parse error details and =
modify=20
your source file appropriately. <BR><BR><B>Parser Error Message: </B>The =
directive 'Page' is unknown.<BR><BR><B>Source Error:</B> <BR><BR>
<TABLE width=3D"100%" bgColor=3D#ffffcc>
<TBODY>
<TR>
<TD><CODE><PRE><FONT color=3Dred>Line 1: <%@ Page =
Language=3D"VB" Debug=3D"true" %>
</FONT>Line 2: <%@ Register TagPrefix=3D"myControl" =
TagName=3D"Chart" Src=3D"Chart.ascx" %>
Line 3: <%@ import Namespace=3D"System.Data.SqlClient" =
%></PRE></CODE></TD></TR></TBODY></TABLE></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Can anyone tell me what I might be=20
overlooking? Any help is greatly appreciated!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Keith </FONT></DIV></BODY></HTML>
------=_NextPart_000_0064_01C3F142.6934F640--
- 7
- ASP.Net >> VS 2005: Web & namespacesHi,
When I create a new UserControl called MyUserControl.ascs in the folder
/MyWebApp/SubDir, VS 2005 creates:
public partial class MyWebApp_SubDir_MyUserControl :
System.Web.UI.UserControl
{
}
However, I prefer the VS 2003 way:
namespace MyWebApp.SubDir
{
public class MyUserControl : System.Web.UI.UserControl
{
}
}
Is there a way to change this behaviour?
Steven
- - -
- 8
- ASP.Net >> Max characters in datareader/dataset?Does anybody know anything about a default limit of 249 characters to a
datareader/dataset field?
I'm trying to pull off a 200 word record from an Access MEMO field in a
GridView and the reader and dataset used to get it only displays the
first 249 characters.
Any help would greatly be appreciated!
- 9
- ASP/Active Server Pages >> Create a ForumHi,
I need to Create aWeb Forum on my Web Site. I'm searching for some Open
Source Module that Create a Forum in Asp .
Any simpler solution will be most welcome.
Sandro
- 10
- ASP.Net >> ASP.NET ProfilingHello,
In the VS.NET documentation
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/cpguide/html/cpconenablingprofiling.asp
it says that in order to profile an application you have
to have its CLSID. I am new to profiling and looking to
profile my ASP.NET application, but don't know how to
find its CLSID. Also, it says that "The profiler must
implement the ICorProfilerCallback" Does this mean I
have to develop my own program to do the profiling? I
thought VS.NET would have a built in profiler that would
log each time a function is entered or exited. Any help
would be appreciated! Thanks!
- 11
- ASP.Net >> How to XslTransform.Transform to new web page from code behind?I'm working with a typed dataset and want to implement a print button that
prints my formatted data without the company logo and other stuff on the
form. I've created an XSLT file to transform the XML version of the dataset
into HTML and would like to display it in a new browser window leaving the
original window up and/or maybe even just send it out to the default printer
or bring up the print dialog for printing out the web page. I have
successfully saved the html file, but I'm not sure how to send to a new
browser window instead of a file. Please help, code below:
XmlDataDocument xmlDoc = new XmlDataDocument(dsAffidavit);
XslTransform xslTran = new XslTransform();
xslTran.Load(Server.MapPath("Affidavit.xslt"));
XmlTextWriter writer = new
XmlTextWriter(@"C:\tmp\Printout.htm,System.Text.Encoding.UTF8);
xslTran.Transform(xmlDoc,null,writer);
John Holmes
johnsh@co.skagit.wa.us
- 12
- ASP.Net >> MagicAjax don't work on somee.com?Hi,
I've tried to use MagicAjax (on my localhost), and was excited how easy &
nice it worked.... untill publishing my pages to www.somee.com.
All pages in my site works the same way as in my localhost, except those,
using MagicAjax.
I should notice, that *all* ajax'ed pages, published on loalhost, worked
fine.
So, I think, that all web.config statements, necessary to MagicAjax, were
set correctly.
But then I don't understand why page, working normaly in localhost, doesn't
in somee?
Please, help me to find the reason; Here is my web.config:
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="magicAjax"
type="MagicAjax.Configuration.MagicAjaxSectionHandler, MagicAjax"/>
</configSections>
<magicAjax tracing="false">
<pageStore/>
</magicAjax>
<system.web>
<authentication mode="Windows"/>
<pages>
<controls>
<add namespace="MagicAjax.UI.Controls" assembly="MagicAjax"
tagPrefix="ajax"/>
</controls>
</pages>
<webParts>
<personalization defaultProvider="SessionPersonalizationProvider">
<providers>
<clear/>
<add name="SessionPersonalizationProvider"
type="SessionPersonalizationProvider" applicationName="/"/>
</providers>
</personalization>
</webParts>
<httpModules>
<add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax"/>
</httpModules>
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
<webServices>
<protocols>
<add name="HttpPost"/>
<add name="HttpGet"/>
</protocols>
</webServices>
</system.web>
</configuration>
Thanks in advance,
Vincas
- 13
- ASP.Net >> Can some one help me understand the need of COM+?Hi there,
The first asp.net project i worked on was using COM+. I was told to
register the business and datacomponents i created be registered under
COM+ by creating a COM+ aplication. I also would register the dlls in
GAC. I have a little understanding about GAC but need to know about
COM+. Is there blog or an article on this ?
thanks in advance
-L
- 14
- ASP.Net >> Re: ADSI ProblemMethods for Active Directory Management:
http://www.wwwcoder.com/main/parentid/272/site/2150/68/default.aspx
"Amit" <amit_agarwal@idealake.com> wrote in message news
microsoft.public.dotnet.framework.aspnet:<024d01c3d11e$ac683380
$a001280a@phx.gbl>...
>Can anyone help regarding programming in ADSI.
>any source code
>might help..
>
>
------------------------------------------------------------------------------------
Posted from WWWCoder.com
The .Net Portal Developer's Resource Directory; http://www.wwwcoder.com
Extensive collection of original articles and resources on .Net development.
http://www.wwwcoder.com; for downloads visit: http://www.4aspx.net
- 15
- ASP.Net >> WebResource.axd caching - MAKING IE issue not-modified-sinceHi. Is there any way to make IE issue not-modified-since header every
time it executes a request to get a webresource? I have built my
project in release mode and web.config has debug set to false, but
webresources still won't cache, IE refetches them every time without a
if-modified-since header so it's dl dl dl.
If it's not possible, is there any way to make MS AJAX use js files
instead of .axd?
I tried everytihng to fox the caching and to no avail.
|
| Author |
Message |
Frangipani

|
Posted: Tue Feb 05 05:14:13 CST 2008 |
Top |
ASP/Active Server Pages >> how to check given value is numeric or not
dear sir/madam
How can I check that entered value in a text box is numeric or not
in next page?
Please help me
Thanks in Advance
Web Programming104
|
| |
|
| |
 |
Bob

|
Posted: Tue Feb 05 05:14:13 CST 2008 |
Top |
ASP/Active Server Pages >> how to check given value is numeric or not
EMail@HideDomain.com wrote:
> dear sir/madam
> How can I check that entered value in a text box is numeric or not
> in next page?
http://classicasp.aspfaq.com/general/what-is-wrong-with-isnumeric.html
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ ASP/Active Server Pages |
- Next
- 1
- 2
- ASP.Net >> ASP.Net 2.0 Configuration files.Iam using a couple of external (other than web.config) configuration
files for my project , and i want their behavior to be like that of
web.config file ( the application should track changes and reload if
required),
is this possible in the new ASP.Net 2.0 ?
thanks
- 3
- ASP.Net >> Renew IIS session with an image request?Hello,
Given that a particular iis server has its session timeout set to the
default of 20mins, what will renew the request in order to prevent it timing
out? Is it only code-type things, such as ASP[X] pages, or will requesting
an image file renew the session?
We have an app for warehouse order entry, and some of the orders can be very
long. So we want to put something on the order entry page to renew the
session and keep the user from losing their work. Originally i was thinking
a small iframe which would be hidden and just request some empty page every
5 minutes. If an image request will renew the session though, then i can
simply have an image tag with some javascript to rotate the src attribute.
Will that work, or do i need to actually run code of some sort against the
server?
Thanks in advance,
- ArthurDent
- 4
- Frontpage Client >> Using Virtual DirectoriesI have a need to use/share the contents of a single directory
("virtualdirectory") on 2 separate web sites:
http://myweb1.mydomain1.com/virtualdirectory
and
http://myweb2.mydomain1.com/virtualdirectory
Both sites are being hosted on the same Windows Server 2003 with FrontPage
Extensions and have seperate Home directories. I've found that only myweb1
can see the virtual directory from FrontPage. I believe this is because
only site can control the FP Extensions.
Does anyone know the best way to accoomplish this?
Thanks.
EROK
- 5
- 6
- ASP.Net >> Build works but will not compileVS2005, XPSP2, 2Gb Ram
When working on the default.aspx in a web app intellisense intermittently
stops working
Also If i do a build the build succeeds even when there are major errors
such as absurd class names, and incomplete statements. when I run the app I
then get a compile error as it tries to load.
On one occaision I have fixed this by excluding this page from the project
and then re - including it, but this does not always work.
any ideas?
guy
- 7
- 8
- 9
- Frontpage Client >> How do you save a photo gallery in a Frontpage websiteI have already made my page. I just clicked the web component button and
inserted a photo gallery into a layer. I go to save the webpage as the file
I already have it saved under and it wont let me. Does anyone know how to
fix this problem and if so can you explain it in simple English. Thanks
Isaac
- 10
- IIS >> Authentication failure when downloading large fileHi!
I'm maintaining an intranet site running IIS 6 hosted on W2k3. We are
using Integrated authentication. All data is stored in a SQL Server
2000 on the same server. This includes binary documents stored in
IMAGE columns. Clients are all IE 6.
Everything is running well but when trying to download large binary
files, like PDFs or PowerPoint slides larger than some 30 Mb the user
gets the system login dialogue requiring a username/password and he
just can not get passed it; it just keeps popping up again and again .
The server really returns a 401.1 error, I've logged the trafic, but
why? Smaller files, like 10-20 Mb works well. I've modified the
Metabase to handle files up to 64 Mb. The upload/insertion of these
files works well. What is wrong?
Regards,
Jonas B
- 11
- Frontpage Programming >> Need an experts help???Here's some problems I need to know what to do concerning
fixing them. These problems only occur in Windows XP and
not in my other computers concerning FrontPage 2000.
Problem 1: I can't add or remove background sound...I go
to properties and it is grayed out and won't let you use
it.
Problem 2: When adding a photo the auto thumbnail is
grayed out.
Problem 3: I added links to some other products we
market and all of the information doesn't completely
display. It looks fine on my other computers...but, not
on my Windows XP...the text portion is cut-off.
Also, here's another little problem...my Paint Program
has disappeared...I have tried searching through
Add/Remove programs and it is not there any more.
However, I can switch users and the Paint program is
there.
Any help would be greatly appreciated.
Thanks,
Gary
.
- 12
- 13
- Frontpage Client >> Web Server does not have SharePoint Services installedI'm trying to work on my church's web site as a favor to them - I can work
locally and publish with no problem - but over the months, I've lost the
latest local version of the web site. I'm using FP 2003
So - what I'm trying to do now is connect directly to the website - to
publish locally. BUT - I keep getting this error:
Web Server does not have SharePoint Services installed
I know we don't care about using Sharepoint from our end and I'm getting
very little support from the hosting company, other than to tell me how to
publish the site to them......
Is there any setting on my end I can make to keep FP from requiring, looking
for, or needing Sharepoint Services, or is it all on their end where it
needs to be fixed?
- 14
- Frontpage Client >> User Name being changed when trying to publishWhen I get the "Connect to xxx.com" dialog box
I put in my User name and Password and hit OK
The screen flashes and my user name which was USER
is now changed to xxx.com\USER and I am back on the
same dialog box. I cannot go further.
Hiting OK just loops me back to the same screen.
My host is confused
I am confused.
I used to publish this to a different host and recently
switched. So I know this worked on my PC in the past.
Any suggestions?
- 15
- Frontpage Programming >> Broken LinksI created a Web-Site then had recreated the site on
another drive another set of directories. In Frontpage
the Hyperlinks work with the ALT key. But, when using the
IE browser the links don't work. I tried to recalculate
the links but it did no good.
When I recreated the site, the pages wheren't done in
reverse sequence. Do I need to start again with a blank
index page and relink the pages with a cut/paste routine
re-linking the pages?? <Again the recalculate links
didn't fix the problem in the IE browser> but it works in
Frontpage with the ALT key.
Help would be appreciated ......
Thank You,
Anthony
|
|
|