‘Web’ Category Archives

18
Oct

Zebeta 2.5mg Pills $120.00

by Lynn Demarest in ASP.NET, SQL Server, Technical, Web

Comments Off Comments

Buy discount viagra I was rolling along one night, buy discount viagra tired but making good progress, buy discount viagra when one of my DropDownLists refused to fire its OnSelectedIndexChanged event.

Buy discount viagra During the postback, buy discount viagra Page_Load fired, buy discount viagra but the OnSelectedIndexChanged event for the control did not.

Buy discount viagra After some time, buy discount viagra I finally realized that the VALUES of the ill-behaving DropDownList were all the empty string (“”) because I had forgotten to make the key column of the table supplying the list data an IDENTITY column in SQL Server. Buy discount viagra So even though the selected INDEX was changing, buy discount viagra the selected VALUE was not. Buy discount viagra It was always “”, buy discount viagra because the keys were NULL in SQL Server.

Buy discount viagra My point here is that had Microsoft named the event better — or fixed it so that it is fired when its name says it will be — the confusion could have been avoided.

Buy discount viagra Be forewarned: The selected index in a DropDownList can change all it wants, buy discount viagra but unless the underlying value changes the control’s SelectedIndexChanged event will not be fired.

Buy discount viagra  

Average Rating: 4.5 out of 5 based on 260 user reviews.

24
May

Viagra Free Trial Pack

by Lynn Demarest in ASP.NET, jQuery, Miscellaneous, Technical, Web

Comments Off Comments

Buy viagra The jQueryUI sortable widget works like magic. Buy viagra Apply it to an HTML DIV that contains other DIVs and you can magically drag and drop the inner DIVs to reorder them on the client. Buy viagra Say, buy viagra for example, buy viagra you have an image gallery and want to allow the site administrator to reorder the images. Buy viagra Drop the images into the inner DIVs, buy viagra attach the widget to the outer DIV and you’re done.

Buy viagra Here’s how:

Buy viagra 1. Buy viagra Add jQuery files

Buy viagra <script type=”text/javascript” src=”//code.jquery.com/jquery-2.1.1.min.js” ></script>

Buy viagra <script type=”text/javascript” src=”//code.jquery.com/ui/1.10.4/jquery-ui.min.js” ></script>

Buy viagra <link rel=”stylesheet” href=”//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css” />

Buy viagra 2. Buy viagra Insert startup scripts to make the outer DIV with the ID “sortable” sortable

Buy viagra <script>

Buy viagra $(function () {

$(“#sortable”).sortable();

}

Buy viagra </script>

Buy viagra 3. Buy viagra Create the div with the sortable ID. Buy viagra Put the inner divs inside it.

Buy viagra <div id=”sortable” >

Buy viagra <div style=”height:200px;”>
<img id=”ctl00_ContentPlaceHolder1_RIL1_Repeater1_ctl00_Image1″ ImageID=”50″ src=”http://www.mysite.com/donuts.jpg” style=”height:200px;border-width:0px;” />
<input type=”hidden” name=”ids” id=”ids” value=’50′ />
</div>

Buy viagra <div style=”height:200px;”>
<img id=”ctl00_ContentPlaceHolder1_RIL1_Repeater1_ctl01_Image1″ ImageID=”48″ src=”http://www.mysite.com/BMproduce.jpg” style=”height:200px;border-width:0px;” />
<input type=”hidden” name=”ids” id=”ids” value=’48′ />
</div>
… and so on

Buy viagra </div> <!– end id=sortable –>

Buy viagra The thing to notice here is that, buy viagra instead of trying to use the widget’s fancy UPDATE event to trigger a javascript routine charged with reporting the new image order back to the server, buy viagra perhaps via AJAX, buy viagra we instead include in each list element a hidden input field containing the id of the element to be reordered. Buy viagra When a list item gets dragged to a new position, buy viagra this hidden field gets dragged along with it.

Buy viagra Finally, buy viagra we give all of these hidden fields the same name: ids. Buy viagra When the form is posted back, buy viagra the form field named ids contains the keys in order, buy viagra like this:

Buy viagra ids=23, buy viagra43, buy viagra54, buy viagra67, buy viagra65, buy viagra87, buy viagra67

Buy viagra Given these record keys, buy viagra of course, buy viagra you can just create SQL statements to update each record’s “SEQ” value. Buy viagra In other words, buy viagra set the SEQ of record 23 to 1, buy viagra set the SEQ of record 43 to 2 and so on.

Buy viagra Simple!

Buy viagra  

Average Rating: 4.9 out of 5 based on 241 user reviews.

23
Jul

Cialis Tablets

by Lynn Demarest in ASP.NET, Technical, Web

Comments Off Comments

Getting cialis from canada WARNING: This technique, getting cialis from canada sadly, getting cialis from canada only works in Full trust mode. Getting cialis from canada Most shared servers use medium trust. Getting cialis from canada If you’re one of those, getting cialis from canada you’ll have to use the old URLRewrite module, getting cialis from canada which should be pre-installed for you by your hosting company.

Getting cialis from canada Finally, getting cialis from canada Microsoft has come up with a version of Friendly URLs that is friendly to programmers, getting cialis from canada too. Getting cialis from canada Nonetheless, getting cialis from canada there are a few things you need to be aware of.

Getting cialis from canada First, getting cialis from canada the Microsoft.aspnet.FriendlyUrls assembly follows the standard “forward slash” model. Getting cialis from canada So URLs look like this: //www.mydomain.com/documents/2013/01

Getting cialis from canada When parsing the URL, getting cialis from canada the module starts from the right and searches for a file name that when stripped of its .aspx extension matches the segment. Getting cialis from canada For example, getting cialis from canada say you have a documents.aspx page in the root folder. Getting cialis from canada If the URL //www.mydomain.com/documents/2013/01 is submitted, getting cialis from canada the module first tries to find “01.aspx” in the “documents/2013″ folder. Getting cialis from canada Not finding it, getting cialis from canada it assumes “01″ is data. Getting cialis from canada Next, getting cialis from canada it moves to “2013″ and also does not find a page called 2013.aspx in the “documents” folder, getting cialis from canada so it assumes “2013″ is data as well. Getting cialis from canada Finally it gets to “documents”, getting cialis from canada finds documents.aspx in the root folder, getting cialis from canada and executes it.

Getting cialis from canada Installing the Microsoft.aspnet.FriendlyUrls module extends the regular Request object with several new objects. Getting cialis from canada One of these is the zero-based GetFriendlyUrlSegments array, getting cialis from canada which contains each of the URL segments that follow the segment that matched the ASPX page. Getting cialis from canada In our example, getting cialis from canada Request.GetFriendlyUrlSegments(0) would return the string “2013″ and GetFriendlyUrlSegments(1) would return “01″.

Getting cialis from canada That’s great so far, getting cialis from canada but unfortunately ASP.NET assumes that the last segment of the URL is the script name, getting cialis from canada and so sets the form’s action property to it. Getting cialis from canada In our test case, getting cialis from canada the action would be “01″. Getting cialis from canada Submitting the form causes an error, getting cialis from canada because there’s no “01.aspx” file in the root folder.

Getting cialis from canada One solution to the problem is to simply update the form’s action property to match your entire friendly URL, getting cialis from canada and not just the tail end of it. Getting cialis from canada To do this, getting cialis from canada add an OnPrerender sub to the page (or master page) and add this line to it:

Getting cialis from canada form1.Action = Request.CurrentExecutionFilePath

Getting cialis from canada CurrentExecuteFilePath is defined as “the virtual path to the current request.” In our case, getting cialis from canada it’s the entire string “/documents/2013/01″.

Getting cialis from canada Now the form posts back to itself, getting cialis from canada as it should.

Getting cialis from canada By the way, getting cialis from canada after you install the Microsoft.aspnet.FriendlyURLs package, getting cialis from canada your web site should:

Getting cialis from canada 1. Getting cialis from canada Have the following files added to the bin folder

Getting cialis from canada /bin/Microsoft.AspNet.FriendlyUrls.dll

Getting cialis from canada /bin/Microsoft.AspNet.FriendlyUrls.dll.refresh

Getting cialis from canada /bin/Microsoft.AspNet.FriendlyUrls.xml

Getting cialis from canada /bin/microsoft.web.infrastructure.dll

Getting cialis from canada /bin/microsoft.web.infrastructure.dll.refresh

Getting cialis from canada 2. Getting cialis from canada Have the following lines in web.config’s configuration/system.web/compilation/assemblies section

Getting cialis from canada <add assembly=”Microsoft.Web.Infrastructure, getting cialis from canada Version=1.0.0.0, getting cialis from canada Culture=neutral, getting cialis from canada PublicKeyToken=31BF3856AD364E35″/>
<add assembly=”System.Web.Routing, getting cialis from canada Version=4.0.0.0, getting cialis from canada Culture=neutral, getting cialis from canada PublicKeyToken=31BF3856AD364E35″/>

Getting cialis from canada You can have Visual Studio insert these lines by adding a reference to the ddl files in /bin. Getting cialis from canada (WEBSITE/Add Reference)

Getting cialis from canada 3. Getting cialis from canada Include the assembly in all code pages that use the extensions to the Request object, getting cialis from canada

Getting cialis from canada Imports Microsoft.AspNet.FriendlyUrls

Getting cialis from canada 4. Getting cialis from canada The global.asax file should “turn on” friendly urls by adding references to the assemblies and calling “EnableFriendlyUrls.”

Getting cialis from canada <%@ Import Namespace=”System.Web.Routing” %>
<%@ Import Namespace=”Microsoft.Aspnet.FriendlyUrls” %>

Getting cialis from canada <%@ Application Language=”VB” %>

Getting cialis from canada <script runat=”server”>
Sub Application_Start(ByVal sender As Object, getting cialis from canada ByVal e As EventArgs)

Getting cialis from canada         ‘ Code that runs on application startup

Getting cialis from canada         RouteTable.Routes.EnableFriendlyUrls()

Getting cialis from canada end sub

Getting cialis from canada (… and so on)

Average Rating: 4.7 out of 5 based on 300 user reviews.