Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:753546
More Search Options
RSS Available
Matching Posts
Re: JavaScript Regular expression exec function
Thanks brother. Your code solved the problem Regards
Posted to
Client Side Web Development
(Forum)
by
mr.aspdotnet
on 6/12/2009
Re: JavaScript Regular expression exec function
Thanks for your reply. I am sorry to say that the problem still exists. The output of the for loop is "this is a string" and g. It is somehow ignoring the other string which is "this is another string" Regards
Posted to
Client Side Web Development
(Forum)
by
mr.aspdotnet
on 6/11/2009
JavaScript Regular expression exec function
Hi guys, I am trying to extract all the strings that match a regular expression. When I test it on server side it is working fine but with JavaScript I am able to see the first value only. [C# code] working fine Regex reg = new Regex ( "\"([^\\\"]|\\.)*\"" ); string src = "\"this is a string\" no string \"this is another string\"" ; MatchCollection coll = reg.Matches(src); foreach ( var str in coll) { Response.Write(str + "<br />"
Posted to
Client Side Web Development
(Forum)
by
mr.aspdotnet
on 6/10/2009
Filed under: regular expression, javascript
Re: UpdatePanel in UserControl
Hi, I got this note from msdn This event validation mechanism reduces the risk of unauthorized postback requests and callbacks. With this model, a control registers its events during rendering and then validates the events during the post-back or callback handling. All event-driven controls in ASP.NET use this feature by default. We need to know what are doing in the second user control, are you creating controls on the fly or are you posting back some JavaScript code? Regards
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
mr.aspdotnet
on 3/20/2009
Re: Question about Response.Flush
Hi, You can use Response.Flush to send immediate response to client while waiting for other long operation to finish. Consider this example and you will know what I mean Response.Write( "send now" ); Response.Flush(); Thread .Sleep(5000); Response.Write( "<br /> send later" ); If you run this code, 'send now' will appear first then after 5 seconds 'send later' will appear. Note that the Thread.Sleep method was used to immitate a lengthy process only. Regards
Posted to
Getting Started
(Forum)
by
mr.aspdotnet
on 3/19/2009
Re: UpdatePanel in UserControl
Hi, A quick fix will be to set enableEventValidation to false in the page tag at the top although it is not recomanded. Can you try to remove the first user control and keep the one which creates the problem and try it again? Regards
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
mr.aspdotnet
on 3/19/2009
Re: Maximum length/lines in a sql text field
ok, can you please tell me where the text is coming from? is it from a text file, Web editor (WYSIWYG editor), Web page, Word document...etc. Regards
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
mr.aspdotnet
on 3/19/2009
Re: Maximum length/lines in a sql text field
So did you solve the problem or you are still looking for the solution? In case you solve it can you please post your solution as this will help others looking to solve the same issue. If you didn't solve it yet can you please provide some more information on the nature of your input and what are you trying to do with the text Regards
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
mr.aspdotnet
on 3/18/2009
Re: Maximum length/lines in a sql text field
[quote user="divided"]The field is just type 'text' and I know that it allows over 2 billion characters. I tried an update statement and tried to paste it directly in the table. My other thought is that since it's formatted on different lines with returns, that sql is only reading the first line and cannot understand the format of the text. [/quote] Hi, You can use char(13) to inforce return in text. Try this in an empty query and you will know what I mean print 'this is
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
mr.aspdotnet
on 3/18/2009
Re: Maximum length/lines in a sql text field
Hi, This is what I found regarding this data type on msdn ntext Variable-length Unicode data with a maximum length of 2^30 - 1 (1,073,741,823) characters. Storage size, in bytes, is two times the number of characters entered. The ISO synonym for ntext is national text . text Variable-length non-Unicode data in the code page of the server and with a maximum length of 2^31-1 (2,147,483,647) characters. When the server code page uses double-byte characters, the storage is still 2,147,483,647 bytes.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
mr.aspdotnet
on 3/17/2009
Page 1 of 40 (392 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
ASP.NET:
Hanselminutes Podcast 186: .NET Debugging 101 with Tess Ferrandez
TechNet Edge:
WinRE and free stuff with Sean Kearney
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online