<?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>VBForums - ASP.NET</title>
		<link>http://www.vbforums.com/</link>
		<description>Drop in here to discuss anything and everything about ASP.NET</description>
		<language>en</language>
		<lastBuildDate>Sat, 25 May 2013 21:44:40 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.vbforums.com/images/misc/rss.png</url>
			<title>VBForums - ASP.NET</title>
			<link>http://www.vbforums.com/</link>
		</image>
		<item>
			<title>UpdateProgress to  show page load progress in percentage ,remaining loading percentag</title>
			<link>http://www.vbforums.com/showthread.php?722829-UpdateProgress-to-show-page-load-progress-in-percentage-remaining-loading-percentag&amp;goto=newpost</link>
			<pubDate>Sat, 25 May 2013 13:03:06 GMT</pubDate>
			<description>how can i use UpdateProgress or any other method to show page-loaded progress in percentage value and remaining loading percentage value.

like this..
|=======..............|</description>
			<content:encoded><![CDATA[<div>how can i use UpdateProgress or any other method to show page-loaded progress in percentage value and remaining loading percentage value.<br />
<br />
like this..<br />
|=======..............|</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>mynameishide</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722829-UpdateProgress-to-show-page-load-progress-in-percentage-remaining-loading-percentag</guid>
		</item>
		<item>
			<title>VS 2012 Built in Webforms security - Access or Sql Server?</title>
			<link>http://www.vbforums.com/showthread.php?722775-Built-in-Webforms-security-Access-or-Sql-Server&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 19:47:11 GMT</pubDate>
			<description><![CDATA[:wave:
I've been looking into the built in security that comes with a new webforms application in VS 2012.  I noticed that it creates a .mdf file for you with all the tables and such to run the login screen and manage security.  My dev lead, however, wants all the backend databases to be in Access - at least for development.  

Is there a way to have VS create the backend security database in Access?  

Any thoughts on this subject would be appreciated.  Noobism going on here.]]></description>
			<content:encoded><![CDATA[<div>:wave:<br />
I've been looking into the built in security that comes with a new webforms application in VS 2012.  I noticed that it creates a .mdf file for you with all the tables and such to run the login screen and manage security.  My dev lead, however, wants all the backend databases to be in Access - at least for development.  <br />
<br />
Is there a way to have VS create the backend security database in Access?  <br />
<br />
Any thoughts on this subject would be appreciated.  Noobism going on here.</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>dolot</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722775-Built-in-Webforms-security-Access-or-Sql-Server</guid>
		</item>
		<item>
			<title><![CDATA[VS 2012 [RESOLVED] Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correc]]></title>
			<link>http://www.vbforums.com/showthread.php?722767-RESOLVED-Sys-WebForms-PageRequestManagerServerErrorException-Input-string-was-not-in-a-correc&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 19:00:22 GMT</pubDate>
			<description><![CDATA[Good Day 

I am using Ajax-manager


Code:
---------
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
     <AjaxSettings>
           
                <telerik:AjaxSetting AjaxControlID="paymentTypeList">
             <UpdatedControls>
                                  <telerik:AjaxUpdatedControl ControlID="paymentTypeList"  ></telerik:AjaxUpdatedControl>
                      <telerik:AjaxUpdatedControl ControlID="tbxChargeAmount"  ></telerik:AjaxUpdatedControl>
 
             </UpdatedControls>
         </telerik:AjaxSetting>
---------
 
 now this works on Chrome  but not in IE, in IE 10 it gives me an error 

 

Code:
---------
SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
Accounts.aspx
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Telerik.Web.UI.WebResource.axd, line 9 character 15475
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Telerik.Web.UI.WebResource.axd, line 9 character 15475
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Telerik.Web.UI.WebResource.axd, line 9 character 15475
---------
 

more Info again 


Code:
---------
Unhandled exception at line 2610, column 1 in http://localhost:58443/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.1.50927.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c95f669f-226b-4768-8ab5-43ac217de4dd:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2012.2.607.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:08ccafd1-fc13-48c0-b85b-a439ce2f6884:16e4e7cd:86526ba7:874f8ea2:ed16cbdc:f7645509:24ee1bba:7165f74:58366029:1e771326:f9b9258;AjaxControlToolkit,+Version=4.1.50927.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c95f669f-226b-4768-8ab5-43ac217de4dd:923aa3cc:853c2e0b:f9ae838a:782b16ab:d754780e:1e088fb:52c703eb:46f97eb1:50114f04:f48dface:28a7831e
 
0x800a138f - JavaScript runtime error: Unable to get property 'id' of undefined or null reference
---------
 

Thanks]]></description>
			<content:encoded><![CDATA[<div>Good Day <br />
<br />
I am using Ajax-manager<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;telerik:RadAjaxManager ID=&quot;RadAjaxManager1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp;  &lt;AjaxSettings&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;telerik:AjaxSetting AjaxControlID=&quot;paymentTypeList&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;UpdatedControls&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;telerik:AjaxUpdatedControl ControlID=&quot;paymentTypeList&quot;&nbsp; &gt;&lt;/telerik:AjaxUpdatedControl&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;telerik:AjaxUpdatedControl ControlID=&quot;tbxChargeAmount&quot;&nbsp; &gt;&lt;/telerik:AjaxUpdatedControl&gt;<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;/UpdatedControls&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;/telerik:AjaxSetting&gt;</code><hr />
</div> now this works on Chrome  but not in IE, in IE 10 it gives me an error <br />
<br />
 <br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.<br />
Accounts.aspx<br />
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.<br />
Telerik.Web.UI.WebResource.axd, line 9 character 15475<br />
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.<br />
Telerik.Web.UI.WebResource.axd, line 9 character 15475<br />
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.<br />
Telerik.Web.UI.WebResource.axd, line 9 character 15475</code><hr />
</div>more Info again <br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Unhandled exception at line 2610, column 1 in http://localhost:58443/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&amp;compress=1&amp;_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.1.50927.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c95f669f-226b-4768-8ab5-43ac217de4dd:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2012.2.607.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:08ccafd1-fc13-48c0-b85b-a439ce2f6884:16e4e7cd:86526ba7:874f8ea2:ed16cbdc:f7645509:24ee1bba:7165f74:58366029:1e771326:f9b9258;AjaxControlToolkit,+Version=4.1.50927.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c95f669f-226b-4768-8ab5-43ac217de4dd:923aa3cc:853c2e0b:f9ae838a:782b16ab:d754780e:1e088fb:52c703eb:46f97eb1:50114f04:f48dface:28a7831e<br />
&nbsp;<br />
0x800a138f - JavaScript runtime error: Unable to get property 'id' of undefined or null reference</code><hr />
</div>Thanks</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>vuyiswamb</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722767-RESOLVED-Sys-WebForms-PageRequestManagerServerErrorException-Input-string-was-not-in-a-correc</guid>
		</item>
		<item>
			<title>ASP.NET Presentation Layer, BLL, DAL</title>
			<link>http://www.vbforums.com/showthread.php?722739-ASP-NET-Presentation-Layer-BLL-DAL&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 14:10:29 GMT</pubDate>
			<description>Greetings I am new to vb and asp but have just finished creating a website in visual web developer.

I have some presentation layer pages where the end user is to type in data into txtboxes and hit submit at the bottom to send the data into my database.

I have researched and seen that the use of BLL and DAL is the way to go for security purposes...using get/set to move the info from presentation layer to bll to dal and then to database.

Obviously my question is a bit ambiguous . but can somebody point me in the right direction... maybe letting me know what steps are needed to accomplish this... I have found a few examples in the msdn pages... but most are instructions to take data from the database and present it on the asp page... i just need to send the data from the asp page to the database.

Thanks!</description>
			<content:encoded><![CDATA[<div>Greetings I am new to vb and asp but have just finished creating a website in visual web developer.<br />
<br />
I have some presentation layer pages where the end user is to type in data into txtboxes and hit submit at the bottom to send the data into my database.<br />
<br />
I have researched and seen that the use of BLL and DAL is the way to go for security purposes...using get/set to move the info from presentation layer to bll to dal and then to database.<br />
<br />
Obviously my question is a bit ambiguous . but can somebody point me in the right direction... maybe letting me know what steps are needed to accomplish this... I have found a few examples in the msdn pages... but most are instructions to take data from the database and present it on the asp page... i just need to send the data from the asp page to the database.<br />
<br />
Thanks!</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>wb1605</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722739-ASP-NET-Presentation-Layer-BLL-DAL</guid>
		</item>
		<item>
			<title><![CDATA[VS 2010 how to use gridview like render = 'inline' property of updatepanel..?]]></title>
			<link>http://www.vbforums.com/showthread.php?722719-how-to-use-gridview-like-render-inline-property-of-updatepanel&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 11:41:58 GMT</pubDate>
			<description><![CDATA[i use gridview in listview and use listview.GroupItemCount ="3" 

i see that when i not use gridvew then listview proper show item in 3 column

but when i use gridview then listview not show data in 3 column..

my code is

Code:
---------
<asp:ListView ID="lstviewtest" runat="server" GroupItemCount ="3">
<LayoutTemplate>
<asp:Placeholder id="groupPlaceholder" runat="server" /> 
</LayoutTemplate>
<GroupTemplate>
<div>
<asp:Placeholder id="itemPlaceholder" runat="server" />
</div>
</GroupTemplate>
<ItemTemplate>

<asp:Literal ID="ltrtest" runat="server" Text='<%# eval("name") %>' ></asp:Literal>

<asp:GridView ID="grd1" runat="server" AutoGenerateColumns="true" ></asp:GridView>

</ItemTemplate>
</asp:ListView>
---------
]]></description>
			<content:encoded><![CDATA[<div>i use gridview in listview and use listview.GroupItemCount =&quot;3&quot; <br />
<br />
i see that when i not use gridvew then listview proper show item in 3 column<br />
<br />
but when i use gridview then listview not show data in 3 column..<br />
<br />
my code is<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;asp:ListView ID=&quot;lstviewtest&quot; runat=&quot;server&quot; GroupItemCount =&quot;3&quot;&gt;<br />
&lt;LayoutTemplate&gt;<br />
&lt;asp:Placeholder id=&quot;groupPlaceholder&quot; runat=&quot;server&quot; /&gt; <br />
&lt;/LayoutTemplate&gt;<br />
&lt;GroupTemplate&gt;<br />
&lt;div&gt;<br />
&lt;asp:Placeholder id=&quot;itemPlaceholder&quot; runat=&quot;server&quot; /&gt;<br />
&lt;/div&gt;<br />
&lt;/GroupTemplate&gt;<br />
&lt;ItemTemplate&gt;<br />
<br />
&lt;asp:Literal ID=&quot;ltrtest&quot; runat=&quot;server&quot; Text='&lt;%# eval(&quot;name&quot;) %&gt;' &gt;&lt;/asp:Literal&gt;<br />
<br />
&lt;asp:GridView ID=&quot;grd1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;true&quot; &gt;&lt;/asp:GridView&gt;<br />
<br />
&lt;/ItemTemplate&gt;<br />
&lt;/asp:ListView&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>mynameishide</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722719-how-to-use-gridview-like-render-inline-property-of-updatepanel</guid>
		</item>
		<item>
			<title>Checkbox Disabled</title>
			<link>http://www.vbforums.com/showthread.php?722707-Checkbox-Disabled&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 09:37:05 GMT</pubDate>
			<description><![CDATA[Hi, 

My page was created with a multiview which has 3 views. 

Now on one of the view I have a checkbox called chkpeer. So, when this checkbox is checked it triggers a submit button to be set to visible and active with the code below; 


Code:
---------
  Protected Sub chkpeer_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles chkpeer.CheckedChanged

        If chkpeer.Checked = True Then
            chkpeer.Enabled = True
            btnSub.Visible = True
        Else
            btnSub.Visible = False
        End If

    End Sub
---------
The asp code is 

Code:
---------
<asp:CheckBox ID="chkpeer" runat="server" CssClass="checkbox" AutoPostBack = "True"  />
---------
Now the problem is, when I check chkpeer - btnsub becomes visible set to TRUE. Then when I move to the next View without clicking the submit button then return to the view with chkpeer, 

1) chkpeer is still ticked but disabled
2) btnsub visible is SET to FALSE. 

I would prefer one of the following

Either have the chkpeer checked - enabled and btnSub still Visible (Ideally)
Or Chkpeer unchecked and enabled so that when I check it again it activates the btnSub .. 

Please help!! Thank you]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
My page was created with a multiview which has 3 views. <br />
<br />
Now on one of the view I have a checkbox called chkpeer. So, when this checkbox is checked it triggers a submit button to be set to visible and active with the code below; <br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; Protected Sub chkpeer_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles chkpeer.CheckedChanged<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; If chkpeer.Checked = True Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; chkpeer.Enabled = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; btnSub.Visible = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; btnSub.Visible = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
<br />
&nbsp; &nbsp; End Sub</code><hr />
</div>The asp code is <br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;asp:CheckBox ID=&quot;chkpeer&quot; runat=&quot;server&quot; CssClass=&quot;checkbox&quot; AutoPostBack = &quot;True&quot;&nbsp; /&gt;</code><hr />
</div>Now the problem is, when I check chkpeer - btnsub becomes visible set to TRUE. Then when I move to the next View without clicking the submit button then return to the view with chkpeer, <br />
<br />
1) chkpeer is still ticked but disabled<br />
2) btnsub visible is SET to FALSE. <br />
<br />
I would prefer one of the following<br />
<br />
Either have the chkpeer checked - enabled and btnSub still Visible (Ideally)<br />
Or Chkpeer unchecked and enabled so that when I check it again it activates the btnSub .. <br />
<br />
Please help!! Thank you</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>dr223</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722707-Checkbox-Disabled</guid>
		</item>
		<item>
			<title>ModalPopupExtender and TabContainer</title>
			<link>http://www.vbforums.com/showthread.php?722697-ModalPopupExtender-and-TabContainer&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 07:28:49 GMT</pubDate>
			<description>Hi,
I need a popup window to enable a user to edit rows of a gridview. This part is done and working. Now, i need to change this popup to contain a tabcontainer instead so that more options can be added. This, however i have had no luck getting to work. Have tried finding an example detailing how this can be done, but no luck. Any of you can point in the right direction?
Im using the ajaxtoolkit with SharePoint 2010 and asp.net 3.5</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I need a popup window to enable a user to edit rows of a gridview. This part is done and working. Now, i need to change this popup to contain a tabcontainer instead so that more options can be added. This, however i have had no luck getting to work. Have tried finding an example detailing how this can be done, but no luck. Any of you can point in the right direction?<br />
Im using the ajaxtoolkit with SharePoint 2010 and asp.net 3.5</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>carstenht</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722697-ModalPopupExtender-and-TabContainer</guid>
		</item>
		<item>
			<title>VS 2010 Routing, how do I resolve this?</title>
			<link>http://www.vbforums.com/showthread.php?722693-Routing-how-do-I-resolve-this&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 07:05:51 GMT</pubDate>
			<description><![CDATA[I am using a datalist and a literal and the URL appears
Attachment 100489 (http://www.vbforums.com/attachment.php?attachmentid=100489)

and I try make the *url's "prettier"* ,example, http://localhost:1573/Example/Test/3

but not working what I've done

Global.asax

Code:
---------
Public Sub Route()
          RouteTable.Routes.MapPageRoute("Test1", _
                                      "test/{name}/{id}", _
                                      "~/test/default.aspx")

    End Sub
---------
.vb

Code:
---------
Protected Function DisplayPaging(ByVal index As Integer) As String
        If (PagedData.CurrentPageIndex + 1) = index Then
            PagingCont += "<b> " + index.ToString() + " </b>"
        Else
                PagingCont += " <a href=""" + Request.CurrentExecutionFilePath + "?=" & index.ToString() & """>" + index.ToString() + "</a> "
        End If
        Return PagingCont
    End Function
---------
.aspx

Code:
---------
 <asp:literal runat="server" ID="PaginationLiteral" Text="<%$RouteValue:id%>" ></asp:literal>
---------
 What am I doing wrong? Any ideas? :ehh:]]></description>
			<content:encoded><![CDATA[<div>I am using a datalist and a literal and the URL appears<br />
<img src="http://www.vbforums.com/attachment.php?attachmentid=100489&amp;d=1369377734" border="0" alt="Name:  test.jpg
Views: 62
Size:  28.3 KB"  /><br />
<br />
and I try make the <b>url's &quot;prettier&quot;</b> ,example, <a rel="nofollow" href="http://localhost:1573/Example/Test/3" target="_blank">http://localhost:1573/Example/Test/3</a><br />
<br />
but not working what I've done<br />
<br />
Global.asax<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Public Sub Route()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RouteTable.Routes.MapPageRoute(&quot;Test1&quot;, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;test/{name}/{id}&quot;, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;~/test/default.aspx&quot;)<br />
<br />
&nbsp; &nbsp; End Sub</code><hr />
</div>.vb<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Protected Function DisplayPaging(ByVal index As Integer) As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; If (PagedData.CurrentPageIndex + 1) = index Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PagingCont += &quot;&lt;b&gt; &quot; + index.ToString() + &quot; &lt;/b&gt;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PagingCont += &quot; &lt;a href=&quot;&quot;&quot; + Request.CurrentExecutionFilePath + &quot;?=&quot; &amp; index.ToString() &amp; &quot;&quot;&quot;&gt;&quot; + index.ToString() + &quot;&lt;/a&gt; &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; Return PagingCont<br />
&nbsp; &nbsp; End Function</code><hr />
</div>.aspx<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"> &lt;asp:literal runat=&quot;server&quot; ID=&quot;PaginationLiteral&quot; Text=&quot;&lt;%$RouteValue:id%&gt;&quot; &gt;&lt;/asp:literal&gt;</code><hr />
</div> What am I doing wrong? Any ideas? :ehh:</div>


	<div style="padding:10px">

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
				<div style="padding:10px">
				<img class="attach" src="http://www.vbforums.com/attachment.php?attachmentid=100489&amp;stc=1&amp;d=1369377734" alt="" />&nbsp;
			</div>
		</fieldset>
	

	

	

	</div>
]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>soda01</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722693-Routing-how-do-I-resolve-this</guid>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] need help with regex]]></title>
			<link>http://www.vbforums.com/showthread.php?722569-RESOLVED-need-help-with-regex&amp;goto=newpost</link>
			<pubDate>Thu, 23 May 2013 04:56:20 GMT</pubDate>
			<description><![CDATA[Hi, 

I normally use the .Replace function in asp.net , which works fine, but this time I want it to be more strict.
The string I will be looking for will contain A-Z a-z 0-9 $ _
ex. 
$EUROPE_FRANCE
$EUROPE_FRANCE_PARIS
...
There is no blank space between the words and it always start with a $ sign.

So my main issue with the .Replace function is , if I search for '$EUROPE_FRANCE' it will detect this twice '$EUROPE_FRANCE' and '$EUROPE_FRANCE_PARIS' . I have no clue about the regex syntax, but i read it's possible, so I was wondering if there is way to specify for regex to only search for exact match? Or even there is another function in asp.net that will allow me to do this.

Thank You]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
I normally use the .Replace function in asp.net , which works fine, but this time I want it to be more strict.<br />
The string I will be looking for will contain <font color="#FF8C00">A-Z a-z 0-9 $ _</font><br />
ex. <br />
$EUROPE_FRANCE<br />
$EUROPE_FRANCE_PARIS<br />
...<br />
There is no blank space between the words and it always start with a $ sign.<br />
<br />
So my main issue with the .Replace function is , if I search for '$EUROPE_FRANCE' it will detect this twice '<font color="#FF0000">$EUROPE_FRANCE</font>' and '<font color="#FF0000">$EUROPE_FRANCE</font>_PARIS' . I have no clue about the regex syntax, but i read it's possible, so I was wondering if there is way to specify for regex to only search for exact match? Or even there is another function in asp.net that will allow me to do this.<br />
<br />
Thank You</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>met0555</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722569-RESOLVED-need-help-with-regex</guid>
		</item>
		<item>
			<title>File Permissions</title>
			<link>http://www.vbforums.com/showthread.php?722539-File-Permissions&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 20:59:18 GMT</pubDate>
			<description><![CDATA[I currently have an application I wrote for a company to manage their projects. We've developed it enough over time that it has become fairly useful for them, and other companies in their industry have expressed an interest in using it as well, so they are looking for ways to turn around and sell rights to use it. Then general approach we were looking at is for them to host the site, and then people who log into it obviously only have access to their own products and any features they want to purchase. WHich is obviously a bit of a change from a single company environment. One of the big features of the current system is that they currently can upload different CAD drawing, contracts, etc to the website. Right now I just use the web.config files to like the stuff down, make sure sensitive stuff is locked to the administrative level, shared stuff to administrators and users. I'm not really sure how I go about this from multiple company approach. I would tend to lean toward a public and secure folder for each company, but file permissions have to be set from the file system level (e.g. how do I create a folder automatically from the website and then give it read/write/delete access), and then how do I secure the files properly so that users from one company can't type in the URL to another company's folder and get access to their files. Any help on this would be great. Not really my area of expertise.]]></description>
			<content:encoded><![CDATA[<div>I currently have an application I wrote for a company to manage their projects. We've developed it enough over time that it has become fairly useful for them, and other companies in their industry have expressed an interest in using it as well, so they are looking for ways to turn around and sell rights to use it. Then general approach we were looking at is for them to host the site, and then people who log into it obviously only have access to their own products and any features they want to purchase. WHich is obviously a bit of a change from a single company environment. One of the big features of the current system is that they currently can upload different CAD drawing, contracts, etc to the website. Right now I just use the web.config files to like the stuff down, make sure sensitive stuff is locked to the administrative level, shared stuff to administrators and users. I'm not really sure how I go about this from multiple company approach. I would tend to lean toward a public and secure folder for each company, but file permissions have to be set from the file system level (e.g. how do I create a folder automatically from the website and then give it read/write/delete access), and then how do I secure the files properly so that users from one company can't type in the URL to another company's folder and get access to their files. Any help on this would be great. Not really my area of expertise.</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>SeanGrebey</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722539-File-Permissions</guid>
		</item>
		<item>
			<title>VS 2010 domain redirecting but domain/default.aspx works fine</title>
			<link>http://www.vbforums.com/showthread.php?722501-domain-redirecting-but-domain-default-aspx-works-fine&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 16:43:04 GMT</pubDate>
			<description><![CDATA[When I go to http://www.domain.com/ or http://www.domain.com it redirects to the following:
http://www.domain.com/login.aspx?ReturnUrl=%2f

I can add new routes and they seem to work fine.  It's just the base domain isn't loading properly.  Any ideas?

My setup:
Microsoft Windows Server 2003 R2 Standard x64
MMC3 v5.2 R2
ASP.NET Version: 4.0.30319
site Properties > Documents > Default.aspx is first item listed

root files:
/default.aspx
/login.aspx


Global.asax

Code:
---------
<%@ Application Language="VB" %>
<%@ Import Namespace="System.Web.Routing" %>

    Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
        RegisterRoutes(RouteTable.Routes)
    End Sub

    Sub RegisterRoutes(ByVal routes As RouteCollection)
        routes.MapPageRoute("Home", _
            String.Empty, _
            "~/default.aspx")
    End Sub
---------
Web.config

Code:
---------
<configuration> 
  <appSettings configSource="AppSettings.config" />
  <connectionStrings configSource="ConnectionString.config"/>
  <system.web>
    <customErrors mode="Off"/>
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
    <httpRuntime requestPathInvalidCharacters=""/>

    <authentication mode="Forms">
      <forms name=".SiteAuth" loginUrl="~/login.aspx" timeout="5000" protection="Validation" />
    </authentication>

    <authorization>
        <deny users="?"/>
    </authorization>
      
    <webServices>
        <protocols>
            <add name="HttpGet"/>
            <add name="HttpPost"/>
        </protocols>
    </webServices>
  </system.web>
    
    <location path="default.aspx">
        <system.web>
            <authorization>
                <allow users="*"/>
            </authorization>
        </system.web>
    </location>

    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true">
            <remove name="UrlRoutingModule"/>
            <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        </modules>
        <handlers>
            <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/>
        </handlers>
        <validation validateIntegratedModeConfiguration="false" />
    </system.webServer>

    <system.net>
        <mailSettings>
            <smtp>
                <network host="smtp.site.com" port="25" userName="" password="" defaultCredentials="true"/>
            </smtp>
        </mailSettings>
    </system.net>
</configuration>
---------
]]></description>
			<content:encoded><![CDATA[<div>When I go to <a rel="nofollow" href="http://www.domain.com/" target="_blank">http://www.domain.com/</a> or <a rel="nofollow" href="http://www.domain.com" target="_blank">http://www.domain.com</a> it redirects to the following:<br />
<a rel="nofollow" href="http://www.domain.com/login.aspx?ReturnUrl=%2f" target="_blank">http://www.domain.com/login.aspx?ReturnUrl=%2f</a><br />
<br />
I can add new routes and they seem to work fine.  It's just the base domain isn't loading properly.  Any ideas?<br />
<br />
My setup:<br />
Microsoft Windows Server 2003 R2 Standard x64<br />
MMC3 v5.2 R2<br />
ASP.NET Version: 4.0.30319<br />
site Properties &gt; Documents &gt; Default.aspx is first item listed<br />
<br />
root files:<br />
/default.aspx<br />
/login.aspx<br />
<br />
<br />
Global.asax<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;%@ Application Language=&quot;VB&quot; %&gt;<br />
&lt;%@ Import Namespace=&quot;System.Web.Routing&quot; %&gt;<br />
<br />
&nbsp; &nbsp; Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)<br />
&nbsp; &nbsp; &nbsp; &nbsp; RegisterRoutes(RouteTable.Routes)<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Sub RegisterRoutes(ByVal routes As RouteCollection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; routes.MapPageRoute(&quot;Home&quot;, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; String.Empty, _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;~/default.aspx&quot;)<br />
&nbsp; &nbsp; End Sub</code><hr />
</div>Web.config<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;configuration&gt; <br />
&nbsp; &lt;appSettings configSource=&quot;AppSettings.config&quot; /&gt;<br />
&nbsp; &lt;connectionStrings configSource=&quot;ConnectionString.config&quot;/&gt;<br />
&nbsp; &lt;system.web&gt;<br />
&nbsp; &nbsp; &lt;customErrors mode=&quot;Off&quot;/&gt;<br />
&nbsp; &nbsp; &lt;compilation debug=&quot;true&quot; strict=&quot;false&quot; explicit=&quot;true&quot; targetFramework=&quot;4.0&quot; /&gt;<br />
&nbsp; &nbsp; &lt;httpRuntime requestPathInvalidCharacters=&quot;&quot;/&gt;<br />
<br />
&nbsp; &nbsp; &lt;authentication mode=&quot;Forms&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;forms name=&quot;.SiteAuth&quot; loginUrl=&quot;~/login.aspx&quot; timeout=&quot;5000&quot; protection=&quot;Validation&quot; /&gt;<br />
&nbsp; &nbsp; &lt;/authentication&gt;<br />
<br />
&nbsp; &nbsp; &lt;authorization&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;deny users=&quot;?&quot;/&gt;<br />
&nbsp; &nbsp; &lt;/authorization&gt;<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;webServices&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;protocols&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;add name=&quot;HttpGet&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;add name=&quot;HttpPost&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/protocols&gt;<br />
&nbsp; &nbsp; &lt;/webServices&gt;<br />
&nbsp; &lt;/system.web&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;location path=&quot;default.aspx&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;system.web&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;authorization&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;allow users=&quot;*&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/authorization&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/system.web&gt;<br />
&nbsp; &nbsp; &lt;/location&gt;<br />
<br />
&nbsp; &nbsp; &lt;system.webServer&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;modules runAllManagedModulesForAllRequests=&quot;true&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;remove name=&quot;UrlRoutingModule&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;add name=&quot;UrlRoutingModule&quot; type=&quot;System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/modules&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;handlers&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;add name=&quot;UrlRoutingHandler&quot; preCondition=&quot;integratedMode&quot; verb=&quot;*&quot; path=&quot;UrlRouting.axd&quot; type=&quot;System.Web.HttpForbiddenHandler, System.Web,<br />
Version=2.0.0.0, Culture=neutral,<br />
PublicKeyToken=b03f5f7f11d50a3a&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/handlers&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;validation validateIntegratedModeConfiguration=&quot;false&quot; /&gt;<br />
&nbsp; &nbsp; &lt;/system.webServer&gt;<br />
<br />
&nbsp; &nbsp; &lt;system.net&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;mailSettings&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;smtp&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;network host=&quot;smtp.site.com&quot; port=&quot;25&quot; userName=&quot;&quot; password=&quot;&quot; defaultCredentials=&quot;true&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/smtp&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/mailSettings&gt;<br />
&nbsp; &nbsp; &lt;/system.net&gt;<br />
&lt;/configuration&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>lleemon</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722501-domain-redirecting-but-domain-default-aspx-works-fine</guid>
		</item>
		<item>
			<title>VS 2008 Navigating records next/previous</title>
			<link>http://www.vbforums.com/showthread.php?722471-Navigating-records-next-previous&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 09:09:21 GMT</pubDate>
			<description><![CDATA[Hi,

I have written a .net web application quite some time ago and now required some enhancement... but I'm now lost on how to do this :( So appreciate any insights from all of you here.

I have a page (page A) displaying a GridView of records from a SQL table. Upon clicking on a row, user will be lead to another page (page B) displaying the details of the selected record. From page A, I passed the value of a generated ID through querystring to page B, and based on this ID, the application will query the database to fetch all the values and display accordingly in a FormView. Page B will also allow user to edit and update the record.

How is it possible if I want to have the ability to navigate to next/previous record from Page B without having to go back to Page A again?

Appreciate any help! Thanks in advance!! :)

Cheers!]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have written a .net web application quite some time ago and now required some enhancement... but I'm now lost on how to do this :( So appreciate any insights from all of you here.<br />
<br />
I have a page (page A) displaying a GridView of records from a SQL table. Upon clicking on a row, user will be lead to another page (page B) displaying the details of the selected record. From page A, I passed the value of a generated ID through querystring to page B, and based on this ID, the application will query the database to fetch all the values and display accordingly in a FormView. Page B will also allow user to edit and update the record.<br />
<br />
How is it possible if I want to have the ability to navigate to next/previous record from Page B without having to go back to Page A again?<br />
<br />
Appreciate any help! Thanks in advance!! :)<br />
<br />
Cheers!</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>iceflamez</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722471-Navigating-records-next-previous</guid>
		</item>
		<item>
			<title>Include files within an Include file.</title>
			<link>http://www.vbforums.com/showthread.php?722281-Include-files-within-an-Include-file&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 16:20:17 GMT</pubDate>
			<description><![CDATA[Hello,

I have just started with ASP.NET.

I like the idea of using Include files so that I can create various versions of individual parts of a site and decide in code which to display. I used:

<%Response.WriteFile("content\\content.aspx")%>

to include a content.aspx file within my default.aspx page.

I would like to include a Left.aspx, Main.aspx and Right.aspx file inside the content.aspx file. I tried using the reponse.writefile function but noticed when I debug the website that the text "reponse.writefile..." displays instead of the code contained within the referenced file(s).

Can this not be done? Or have I just made a mistake somewhere along the way.

Thanks]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I have just started with ASP.NET.<br />
<br />
I like the idea of using Include files so that I can create various versions of individual parts of a site and decide in code which to display. I used:<br />
<br />
&lt;%Response.WriteFile(&quot;content\\content.aspx&quot;)%&gt;<br />
<br />
to include a content.aspx file within my default.aspx page.<br />
<br />
I would like to include a Left.aspx, Main.aspx and Right.aspx file inside the content.aspx file. I tried using the reponse.writefile function but noticed when I debug the website that the text &quot;reponse.writefile...&quot; displays instead of the code contained within the referenced file(s).<br />
<br />
Can this not be done? Or have I just made a mistake somewhere along the way.<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>jay20aiii</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722281-Include-files-within-an-Include-file</guid>
		</item>
		<item>
			<title>VS 2012 Dynamically generated CompareValidator not working right.</title>
			<link>http://www.vbforums.com/showthread.php?721805-Dynamically-generated-CompareValidator-not-working-right&amp;goto=newpost</link>
			<pubDate>Wed, 15 May 2013 21:48:07 GMT</pubDate>
			<description><![CDATA[:wave:
I'm new to this asp.net stuff.  My dev lead and I are both trying to learn how to do this.  He built some pages and asked me to add the validation controls to them.

The first page has a series of text boxes with autopostback = true.  I can put CompareValidators onto the form and assign them to the textboxes, and they seem to work right.  

On my second page, however, the controls are being built on the server using vb code.  The CompareValidators seem to work on the client side.  On the server side, however, the CompareValidators always have an IsValid property = true, even when the value of the textbox clearly violates the conditions.  I've checked all the properties I can think of and I can't see any difference between these dynamically generated validators and the static ones I have on the first page, so I'm thinking there must be something else going on.

Let me know if you need any more info or have any ideas.]]></description>
			<content:encoded><![CDATA[<div>:wave:<br />
I'm new to this asp.net stuff.  My dev lead and I are both trying to learn how to do this.  He built some pages and asked me to add the validation controls to them.<br />
<br />
The first page has a series of text boxes with autopostback = true.  I can put CompareValidators onto the form and assign them to the textboxes, and they seem to work right.  <br />
<br />
On my second page, however, the controls are being built on the server using vb code.  The CompareValidators seem to work on the client side.  On the server side, however, the CompareValidators always have an IsValid property = true, even when the value of the textbox clearly violates the conditions.  I've checked all the properties I can think of and I can't see any difference between these dynamically generated validators and the static ones I have on the first page, so I'm thinking there must be something else going on.<br />
<br />
Let me know if you need any more info or have any ideas.</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>dolot</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?721805-Dynamically-generated-CompareValidator-not-working-right</guid>
		</item>
		<item>
			<title>VS 2008 Pagination sample, somebody can help me??</title>
			<link>http://www.vbforums.com/showthread.php?721705-Pagination-sample-somebody-can-help-me&amp;goto=newpost</link>
			<pubDate>Wed, 15 May 2013 07:09:52 GMT</pubDate>
			<description><![CDATA[Hi
I've been doing a Pagination Sample, and when to run it in the browser I get the following
*http://localhost/example/?=2* or *http://localhost/example/?=9*

This is the code I'm doing

Code:
---------
 Protected Function DisplayPaging(ByVal index As Integer) As String
        If (PagedData.CurrentPageIndex + 1) = index Then
            PagingCont += "<b> " + index.ToString() + " </b>"
        Else
                PagingCont += " <a href=""" + Request.CurrentExecutionFilePath + "?=" & index.ToString() & """>" + index.ToString() + "</a> "
        End If
        Return PagingCont
    End Function

 Protected Sub btFirst_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)
        Response.Redirect(Request.CurrentExecutionFilePath & "?=1")
    End Sub

    Protected Sub btPrevious_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)
        Response.Redirect(Request.CurrentExecutionFilePath & "?=" & (PagedData.CurrentPageIndex))
    End Sub
    
    Protected Sub btNext_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)
        Response.Redirect(Request.CurrentExecutionFilePath & "?=" & (PagedData.CurrentPageIndex + 2))
    End Sub

    Protected Sub btLast_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)
        Response.Redirect(Request.CurrentExecutionFilePath & "?=" & (PagedData.PageCount))
    End Sub
---------
my question is, how I can make it for me then appears in the browser 
    * http://localhost/example/2   * or *http://localhost/example/9*

???:confused:]]></description>
			<content:encoded><![CDATA[<div>Hi<br />
I've been doing a Pagination Sample, and when to run it in the browser I get the following<br />
<b><a rel="nofollow" href="http://localhost/example/?=2" target="_blank">http://localhost/example/?=2</a></b> or <b><a rel="nofollow" href="http://localhost/example/?=9" target="_blank">http://localhost/example/?=9</a></b><br />
<br />
This is the code I'm doing<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"> Protected Function DisplayPaging(ByVal index As Integer) As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; If (PagedData.CurrentPageIndex + 1) = index Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PagingCont += &quot;&lt;b&gt; &quot; + index.ToString() + &quot; &lt;/b&gt;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PagingCont += &quot; &lt;a href=&quot;&quot;&quot; + Request.CurrentExecutionFilePath + &quot;?=&quot; &amp; index.ToString() &amp; &quot;&quot;&quot;&gt;&quot; + index.ToString() + &quot;&lt;/a&gt; &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; Return PagingCont<br />
&nbsp; &nbsp; End Function<br />
<br />
&nbsp;Protected Sub btFirst_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(Request.CurrentExecutionFilePath &amp; &quot;?=1&quot;)<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Protected Sub btPrevious_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(Request.CurrentExecutionFilePath &amp; &quot;?=&quot; &amp; (PagedData.CurrentPageIndex))<br />
&nbsp; &nbsp; End Sub<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; Protected Sub btNext_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(Request.CurrentExecutionFilePath &amp; &quot;?=&quot; &amp; (PagedData.CurrentPageIndex + 2))<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Protected Sub btLast_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(Request.CurrentExecutionFilePath &amp; &quot;?=&quot; &amp; (PagedData.PageCount))<br />
&nbsp; &nbsp; End Sub</code><hr />
</div>my question is, how I can make it for me then appears in the browser <br />
    <b> <a rel="nofollow" href="http://localhost/example/2" target="_blank">http://localhost/example/2</a>   </b> or <b><a rel="nofollow" href="http://localhost/example/9" target="_blank">http://localhost/example/9</a></b><br />
<br />
???:confused:</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?31-ASP-NET">ASP.NET</category>
			<dc:creator>Dr-Delta</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?721705-Pagination-sample-somebody-can-help-me</guid>
		</item>
	</channel>
</rss>
