<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>WebDeveloper.com - ASP</title>
		<link>http://www.webdeveloper.com/forum/</link>
		<description>Discussion and technical support for using and deploying Active Server Pages.</description>
		<language>en</language>
		<lastBuildDate>Wed, 22 May 2013 09:24:34 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.webdeveloper.com/forum/images/misc/rss.png</url>
			<title>WebDeveloper.com - ASP</title>
			<link>http://www.webdeveloper.com/forum/</link>
		</image>
		<item>
			<title>The main advantages of .NET framework</title>
			<link>http://www.webdeveloper.com/forum/showthread.php?278141-The-main-advantages-of-.NET-framework&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 13:03:22 GMT</pubDate>
			<description>Some of the main advantages of this framework are – 
 
    This framework works on object-oriented programming. This helps to eliminate the amount of unnecessary codes and involves less coding for the developers. Developers enjoy working on this platform as it increases their productivity. 
    It...</description>
			<content:encoded><![CDATA[<div>Some of the main advantages of this framework are –<br />
<br />
    This framework works on object-oriented programming. This helps to eliminate the amount of unnecessary codes and involves less coding for the developers. Developers enjoy working on this platform as it increases their productivity.<br />
    It is the best platform to develop fully functioning websites with an exclusive user experience and provides the best performance. Interactive websites tends to attract more customers to the site, increasing their chance of being a potential buyer.<br />
    .NET provides a base class library that supports innovative web development. It enables to fulfill varied functions like graphic rendering and file reading etc. It has all the resources to provide websites with different functionality and manage it smoothly at the same time.</div>

 ]]></content:encoded>
			<category domain="http://www.webdeveloper.com/forum/forumdisplay.php?9-ASP">ASP</category>
			<dc:creator>molly00</dc:creator>
			<guid isPermaLink="true">http://www.webdeveloper.com/forum/showthread.php?278141-The-main-advantages-of-.NET-framework</guid>
		</item>
		<item>
			<title>Web.Config regular expression rewrite</title>
			<link>http://www.webdeveloper.com/forum/showthread.php?277965-Web.Config-regular-expression-rewrite&amp;goto=newpost</link>
			<pubDate>Tue, 14 May 2013 18:52:56 GMT</pubDate>
			<description><![CDATA[We are getting a site ready for a client that is using a full AJAX approach to their site, so pretty much every link is using a hash bash. 
 
I'm currently trying to get a crawling system going for when the site is called on using an _escaped_fragment_, and I want to either rewrite the url or...]]></description>
			<content:encoded><![CDATA[<div>We are getting a site ready for a client that is using a full AJAX approach to their site, so pretty much every link is using a hash bash.<br />
<br />
I'm currently trying to get a crawling system going for when the site is called on using an _escaped_fragment_, and I want to either rewrite the url or redirect it properly.  I'm trying to get it set up in the web.config, but I'm not sure what would be the best method of doing this.<br />
<br />
I'm currently trying to do this: <div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;rewrite&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;rules&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;rule name=&quot;Rewrite escaped fragment&quot; stopProcessing=&quot;true&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;match url=&quot;^/\?_escaped_fragment_=([_0-9a-zA-Z-/]+)&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action type=&quot;Rewrite&quot; url=&quot;/{R:1}&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/rule&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/rules&gt;<br />
&nbsp; &nbsp; &lt;/rewrite&gt;</code><hr />
</div> So basically <b><a rel="nofollow" href="http://www.domain.com/?_escaped_fragment_=/path/to/document" target="_blank">http://www.domain.com/?_escaped_frag...th/to/document</a></b> will turn into <b><a rel="nofollow" href="http://www.domain.com/path/to/document" target="_blank">http://www.domain.com/path/to/document</a></b><br />
<br />
Any thoughts or suggestions?  Google hasn't been much help so far.</div>

 ]]></content:encoded>
			<category domain="http://www.webdeveloper.com/forum/forumdisplay.php?9-ASP">ASP</category>
			<dc:creator>beau kang</dc:creator>
			<guid isPermaLink="true">http://www.webdeveloper.com/forum/showthread.php?277965-Web.Config-regular-expression-rewrite</guid>
		</item>
		<item>
			<title>Page Directives</title>
			<link>http://www.webdeveloper.com/forum/showthread.php?277941-Page-Directives&amp;goto=newpost</link>
			<pubDate>Tue, 14 May 2013 08:10:06 GMT</pubDate>
			<description>What are page directives?</description>
			<content:encoded><![CDATA[<div>What are page directives?</div>

 ]]></content:encoded>
			<category domain="http://www.webdeveloper.com/forum/forumdisplay.php?9-ASP">ASP</category>
			<dc:creator>molly00</dc:creator>
			<guid isPermaLink="true">http://www.webdeveloper.com/forum/showthread.php?277941-Page-Directives</guid>
		</item>
		<item>
			<title>how can wire config file</title>
			<link>http://www.webdeveloper.com/forum/showthread.php?277737-how-can-wire-config-file&amp;goto=newpost</link>
			<pubDate>Fri, 10 May 2013 07:41:48 GMT</pubDate>
			<description>how can wire config file to redirect 301 and complete step of put at server using ftp</description>
			<content:encoded><![CDATA[<div>how can wire config file to redirect 301 and complete step of put at server using ftp</div>

 ]]></content:encoded>
			<category domain="http://www.webdeveloper.com/forum/forumdisplay.php?9-ASP">ASP</category>
			<dc:creator>mariajoshef</dc:creator>
			<guid isPermaLink="true">http://www.webdeveloper.com/forum/showthread.php?277737-how-can-wire-config-file</guid>
		</item>
		<item>
			<title><![CDATA[Inserting into DB - No error, just doesn't work]]></title>
			<link>http://www.webdeveloper.com/forum/showthread.php?277641-Inserting-into-DB-No-error-just-doesn-t-work&amp;goto=newpost</link>
			<pubDate>Wed, 08 May 2013 23:34:03 GMT</pubDate>
			<description><![CDATA[I have the following code inside a function that handles a form submit. 
 
The code does not produce any errors, but it doesn't work either. The debug_label that I set as the bottom of the function does not get set either.  
 
Also, I use connectionString1 for populating a gridview so I know the...]]></description>
			<content:encoded><![CDATA[<div>I have the following code inside a function that handles a form submit.<br />
<br />
The code does not produce any errors, but it doesn't work either. The debug_label that I set as the bottom of the function does not get set either. <br />
<br />
Also, I use connectionString1 for populating a gridview so I know the connection string is good. <br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; &nbsp; &nbsp; Dim cn As OleDbConnection<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As OleDbCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim sqlstr As String, ans As Boolean<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strConnection As String = ConfigurationManager.ConnectionStrings(&quot;ConnectionString1&quot;).ConnectionString<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; cn = New OleDbConnection()<br />
&nbsp; &nbsp; &nbsp; &nbsp; cn.ConnectionString = strConnection<br />
&nbsp; &nbsp; &nbsp; &nbsp; cn.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; sqlstr = &quot;INSERT INTO PRACTISE(ID,rating,comment,user_name,product_name) VALUES('&quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; Convert.ToInt32(comment_id) &amp; &quot;','&quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; Trim(rating) &amp; &quot;','&quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; Trim(comment) &amp; &quot;','&quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; Trim(username) &amp; &quot;','&quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; Trim(product) &amp; &quot;')&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; cmd = New OleDbCommand(sqlstr, cn)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ans = cmd.ExecuteNonQuery()<br />
&nbsp; &nbsp; &nbsp; &nbsp; If (ans = True) Then<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' error<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; cmd = Nothing<br />
&nbsp; &nbsp; &nbsp; &nbsp; cn.Close()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; debug_label.Text() = strConnection</code><hr />
</div> Can anyone point me in the right direction?</div>

 ]]></content:encoded>
			<category domain="http://www.webdeveloper.com/forum/forumdisplay.php?9-ASP">ASP</category>
			<dc:creator>guinnee</dc:creator>
			<guid isPermaLink="true">http://www.webdeveloper.com/forum/showthread.php?277641-Inserting-into-DB-No-error-just-doesn-t-work</guid>
		</item>
		<item>
			<title>pass arguments from jquery Ajax to WebMethod</title>
			<link>http://www.webdeveloper.com/forum/showthread.php?277191-pass-arguments-from-jquery-Ajax-to-WebMethod&amp;goto=newpost</link>
			<pubDate>Wed, 01 May 2013 10:09:33 GMT</pubDate>
			<description><![CDATA[Hello. 
 
I tried to send javascript - object to Webmethod, but I get error when send arrays. 
 
Here's my JS-code: 
 
Code: 
--------- 
var categoryIDs = $("#" + ddlCategoriesCliendID).multiselect("getChecked").map(function () { 
        return parseInt(this.value);]]></description>
			<content:encoded><![CDATA[<div>Hello.<br />
<br />
I tried to send javascript - object to Webmethod, but I get error when send arrays.<br />
<br />
Here's my JS-code:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">var categoryIDs = $(&quot;#&quot; + ddlCategoriesCliendID).multiselect(&quot;getChecked&quot;).map(function () {<br />
&nbsp; &nbsp; &nbsp; &nbsp; return parseInt(this.value);<br />
&nbsp; &nbsp; }).get();<br />
&nbsp; &nbsp; var tagIDs = $(&quot;#&quot; + ddlTagsClientID).multiselect(&quot;getChecked&quot;).map(function () {<br />
&nbsp; &nbsp; &nbsp; &nbsp; return parseInt(this.value);<br />
&nbsp; &nbsp; }).get();<br />
&nbsp; &nbsp; var authors = $(&quot;#&quot; + ddlAuthorsClientID).multiselect(&quot;getChecked&quot;).map(function () {<br />
&nbsp; &nbsp; &nbsp; &nbsp; return parseInt(this.value);<br />
&nbsp; &nbsp; }).get();<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; var data = {<br />
&nbsp; &nbsp; &nbsp; &nbsp; SearchText: &quot;text&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; SearchIn: 1,<br />
&nbsp; &nbsp; &nbsp; &nbsp; CategoriesIDs: categoryIDs,<br />
&nbsp; &nbsp; &nbsp; &nbsp; TagsIds: tagIDs,<br />
&nbsp; &nbsp; &nbsp; &nbsp; AuthorID: authors<br />
&nbsp; &nbsp; };<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; data = JSON.stringify(data);<br />
&nbsp; &nbsp; $.ajax({<br />
&nbsp; &nbsp; &nbsp; &nbsp; url: 'Search.aspx/SearchNewsData',<br />
&nbsp; &nbsp; &nbsp; &nbsp; data: data,<br />
&nbsp; &nbsp; &nbsp; &nbsp; dataType: &quot;json&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; type: &quot;POST&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; contentType: &quot;application/json; charset=utf-8&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; success: function (result, status) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CreateGrid(result);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; });</code><hr />
</div> But when tried to send in the server I saw &quot;Error 500&quot;. I tried with different parameters, but without success. Can you help me, which types should be parameters in C# - WebMethod?<br />
I tried with these:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">[WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, string SearchIn, string[] CategoriesIDs, string[] TagsIds, string[] AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; [WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, string SearchIn, int[] CategoriesIDs, int[] TagsIds, int[] AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; [WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, string SearchIn, List&lt;string&gt; CategoriesIDs, List&lt;string&gt; TagsIds, List&lt;string&gt; AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; [WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, string SearchIn, List&lt;int&gt; CategoriesIDs, List&lt;int&gt; TagsIds, List&lt;int&gt; AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; [WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, int SearchIn, string[] CategoriesIDs, string[] TagsIds, string[] AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; [WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, int SearchIn, int[] CategoriesIDs, int[] TagsIds, int[] AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; [WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, int SearchIn, List&lt;string&gt; CategoriesIDs, List&lt;string&gt; TagsIds, List&lt;string&gt; AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; [WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, int SearchIn, List&lt;int&gt; CategoriesIDs, List&lt;int&gt; TagsIds, List&lt;int&gt; AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; [WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, int SearchIn, object[] CategoriesIDs, object[] TagsIds, object[] AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; [WebMethod]<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected static void SearchNewsData(string SearchText, int SearchIn, List&lt;object&gt; CategoriesIDs, List&lt;object&gt; TagsIds, List&lt;object&gt; AuthorID)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div> But without success.<br />
<br />
Thanks.</div>

 ]]></content:encoded>
			<category domain="http://www.webdeveloper.com/forum/forumdisplay.php?9-ASP">ASP</category>
			<dc:creator>Bulgarian</dc:creator>
			<guid isPermaLink="true">http://www.webdeveloper.com/forum/showthread.php?277191-pass-arguments-from-jquery-Ajax-to-WebMethod</guid>
		</item>
	</channel>
</rss>
