I have to create an ASP.NET page that lists various types of customers in a grid. When a user selects to edit an item, a modal dialog should be displayed that allows the user to update the customer's properties. The dialog will display different fields and perform different validation depending on the type of customer being edited (i.e....
Hello,
I'm binding to a RadPanelBar control using the ItemTemplate; it creates the RadPanelBar correctly using this approach, but the panel bar doesn't close when you click on the header??? How do you get the header click to close the item, or is there an alternative way for this kind of setup?
<tel:RadPanelBar ID="r" runat="server" D...
I am working on an ASP.NET WebForms project, and we need the ability to configure behavior throughout the application based on the current user's "group". This applies to almost all aspects of the application, including site navigation, showing/hiding certain user controls on pages, and executing custom business logic in some cases. Ho...
I've read through quite a bit of posts/articles on how to do this and I still am not getting the page title set from the content page. My pages render OK except I can't get the title set from the content page (all the page's have Title set as per the master page). Here's the codebehind for my master page:
Partial Class zSEO
Inherits Sys...
Thus far working with asp.net webforms was very easy .... But never implemented URL Routing in webforms... I know asp.net MVC Handles URL Routing pretty well...
How to get started with URL Routing in an asp.net webform application?
For EX:
Say http://www.mydomain.com/Forms/Category.aspx i want it to be like http://www.mydomain.com/Fo...
Playing with the new(ish) url rewriting functionality for web forms, but I'm running into trouble trying to declare parameters as optional.
Here's the scenario. I've got a search function which accepts two parameters, sku and name. Ideally I'd like the URL for this search function to be /products/search/skuSearchString/nameSearchString....
I am updating an existing ASP .NET site. This site has a custom grid control class that extends the GridView control to add a few features. Many pages in the site use the built in declarative two-way binding feature that is built into the base GridView, i.e. column templates make calls to Bind() so that data can be shown and updated auto...
I have an asp.net wizard control with the "finish" button defined in the FinishNavigationTemplate. I would like to access that button in code to give it focus if finishing the wizard does not complete.
I've tried doing a FindControl on the WizardStep like so:
Button b = (Button) wsReviewOrder.FindControl("FinishButton");
I've tried do...
I'm creating a live mockup for a client website, and I'm having some problems getting the design to work.
The site master has a menu that has multiple categories, but they all contain similar content. I need the menu to remember which one was selected. So I tried setting a cookie that would remember which category was last accessed, and...
If you're in my position you have a big WebForms applications which have escalated to this unmaintainable thing. Things break when you add new features and you need an inexpensive maintainable way to do some kind of automated testing.
Now, from my understanding, the right thing to do would be to try building an abstraction layout of the...
Hi everyone!
I need your help. I need to get the data entered in a webforms and transform to xml
any help will be very useful for my.
greetings for chile!
an example:
I have a contact form that contains name email comments etc. .. what I need, is that when making the submit all this information is stored in an xml file like this:
...
I'm working on an ajax application that makes extensive use of jQuery. I'm not worried about whether or not the application degrades gracefully.
So far I have been using Malsup's excellent jQuery form plugin to create forms that submit ajax requests. (For example, to submit updated record information.)
However I am considering dispen...
I need to do as much as possible on the client side. In more details, I would like to use JavaScript to code an interface (which displays information to the user and which accepts and processes response from the user). I would like to use the web serve just to take a date file from there and then to send a modified data file back. In thi...
I am using MVC, not that this makes a difference, but I have a text box for searching.
<% using (Html.BeginForm("Index", "Search", FormMethod.Post)) { %>
<%= Html.AntiForgeryToken() %>
<div id="search_box">
<span id="search-title">Search Site</span>
<div>
<%= Html.T...
I recently read this article on smart use of ViewState and am particularly interested in not having unnecessary static data in ViewState. However, I'm also curious if I can do the same thing for a parent-child dropdown, like the classic Country/CountrySubDivision example.
So I have this markup:
<asp:DropDownList runat="server" ID=...
What is the most common way people preserve basic formatting elements like bold emphasis and italics when copying to a textarea from an MS Word document. I noticed that Gmail does this well and StackOverflow does not. Are there common frameworks that do this?
...
Hello.
I have the following ASPX page:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<script src="js/jquery-1.2.6.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.6.custom.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(...
I know it's not really a question. But this is bothering me like hell. ASP.net adds so many inline scripts to my pages. Postback scripts, Ajax scripts(many of them), Scroll position script, default button/field script, etc etc etc.
Why on earth would they not just include all this mess in several files. All ajax into its file, all postb...
Hello boys and girls.
I'm trying to get my head around collection_selects in Rails. I can populate the dropdown from a database table, submit the selected option, and show the result. However I can't figure out how to show the selected option in the dropdown when the user chooses to edit the entry.
Here's an extract from my view code:
...
I'm developing a statistically based translation tool to help in haiti, it's a non-profit type thing and free/opensource. (i'm with crisiscommons.)
I could really use some advice on how to protect my system from breakage (along with the webspace that i'm paying for out of my own pocket - trust me this is altruism not to make a buck, the...