‘ASP.NET’ Category Archives

18
Oct

Speman 60 Tablet Bottle $219.00

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

Comments Off Comments

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

Viagra overnight During the postback, viagra overnight Page_Load fired, viagra overnight but the OnSelectedIndexChanged event for the control did not.

Viagra overnight After some time, viagra overnight 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. Viagra overnight So even though the selected INDEX was changing, viagra overnight the selected VALUE was not. Viagra overnight It was always “”, viagra overnight because the keys were NULL in SQL Server.

Viagra overnight 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.

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

Viagra overnight  

Average Rating: 4.8 out of 5 based on 162 user reviews.

24
May

Viagra Price Comparison

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

Comments Off Comments

Buying cialis The jQueryUI sortable widget works like magic. Buying cialis 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. Buying cialis Say, buying cialis for example, buying cialis you have an image gallery and want to allow the site administrator to reorder the images. Buying cialis Drop the images into the inner DIVs, buying cialis attach the widget to the outer DIV and you’re done.

Buying cialis Here’s how:

Buying cialis 1. Buying cialis Add jQuery files

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

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

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

Buying cialis 2. Buying cialis Insert startup scripts to make the outer DIV with the ID “sortable” sortable

Buying cialis <script>

Buying cialis $(function () {

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

}

Buying cialis </script>

Buying cialis 3. Buying cialis Create the div with the sortable ID. Buying cialis Put the inner divs inside it.

Buying cialis <div id=”sortable” >

Buying cialis <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>

Buying cialis <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

Buying cialis </div> <!– end id=sortable –>

Buying cialis The thing to notice here is that, buying cialis 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, buying cialis perhaps via AJAX, buying cialis we instead include in each list element a hidden input field containing the id of the element to be reordered. Buying cialis When a list item gets dragged to a new position, buying cialis this hidden field gets dragged along with it.

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

Buying cialis ids=23, buying cialis43, buying cialis54, buying cialis67, buying cialis65, buying cialis87, buying cialis67

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

Buying cialis Simple!

Buying cialis  

Average Rating: 4.6 out of 5 based on 222 user reviews.

23
Jul

Cialis Vs Levitra

by Lynn Demarest in ASP.NET, Technical, Web

Comments Off Comments

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

Generic viagra in mexico Finally, generic viagra in mexico Microsoft has come up with a version of Friendly URLs that is friendly to programmers, generic viagra in mexico too. Generic viagra in mexico Nonetheless, generic viagra in mexico there are a few things you need to be aware of.

Generic viagra in mexico First, generic viagra in mexico the Microsoft.aspnet.FriendlyUrls assembly follows the standard “forward slash” model. Generic viagra in mexico So URLs look like this: //www.mydomain.com/documents/2013/01

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

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

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

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

Generic viagra in mexico form1.Action = Request.CurrentExecutionFilePath

Generic viagra in mexico CurrentExecuteFilePath is defined as “the virtual path to the current request.” In our case, generic viagra in mexico it’s the entire string “/documents/2013/01″.

Generic viagra in mexico Now the form posts back to itself, generic viagra in mexico as it should.

Generic viagra in mexico By the way, generic viagra in mexico after you install the Microsoft.aspnet.FriendlyURLs package, generic viagra in mexico your web site should:

Generic viagra in mexico 1. Generic viagra in mexico Have the following files added to the bin folder

Generic viagra in mexico /bin/Microsoft.AspNet.FriendlyUrls.dll

Generic viagra in mexico /bin/Microsoft.AspNet.FriendlyUrls.dll.refresh

Generic viagra in mexico /bin/Microsoft.AspNet.FriendlyUrls.xml

Generic viagra in mexico /bin/microsoft.web.infrastructure.dll

Generic viagra in mexico /bin/microsoft.web.infrastructure.dll.refresh

Generic viagra in mexico 2. Generic viagra in mexico Have the following lines in web.config’s configuration/system.web/compilation/assemblies section

Generic viagra in mexico <add assembly=”Microsoft.Web.Infrastructure, generic viagra in mexico Version=1.0.0.0, generic viagra in mexico Culture=neutral, generic viagra in mexico PublicKeyToken=31BF3856AD364E35″/>
<add assembly=”System.Web.Routing, generic viagra in mexico Version=4.0.0.0, generic viagra in mexico Culture=neutral, generic viagra in mexico PublicKeyToken=31BF3856AD364E35″/>

Generic viagra in mexico You can have Visual Studio insert these lines by adding a reference to the ddl files in /bin. Generic viagra in mexico (WEBSITE/Add Reference)

Generic viagra in mexico 3. Generic viagra in mexico Include the assembly in all code pages that use the extensions to the Request object, generic viagra in mexico

Generic viagra in mexico Imports Microsoft.AspNet.FriendlyUrls

Generic viagra in mexico 4. Generic viagra in mexico The global.asax file should “turn on” friendly urls by adding references to the assemblies and calling “EnableFriendlyUrls.”

Generic viagra in mexico <%@ Import Namespace=”System.Web.Routing” %>
<%@ Import Namespace=”Microsoft.Aspnet.FriendlyUrls” %>

Generic viagra in mexico <%@ Application Language=”VB” %>

Generic viagra in mexico <script runat=”server”>
Sub Application_Start(ByVal sender As Object, generic viagra in mexico ByVal e As EventArgs)

Generic viagra in mexico         ‘ Code that runs on application startup

Generic viagra in mexico         RouteTable.Routes.EnableFriendlyUrls()

Generic viagra in mexico end sub

Generic viagra in mexico (… and so on)

Average Rating: 4.4 out of 5 based on 187 user reviews.