I often use regex expression validators that are also a required field. Which leads to what seems like redundant controls on the page. There is no "Required" property of the regex validator which means I need another control. Like this:
<asp:TextBox ID="tbCreditCardNumber" runat="server" Width="200"></asp:TextBox>
<asp:RegularExpression...
I've always thought that server-side code is unaffected by the browser requesting it, but I've just come across an exception:
I have a button that when clicked, changes the button's CSS class (and those relative to it) and rebinds a GridView with new data. The function is this:
Private Sub lbViewUnUsed_Click(ByVal sender As Object, ByV...
Background:
I am working with a GridView and an ObjectDataSource. I am implementing Paging and Sorting.
On the ObjectDataSource:
objectDataSource.TypeName = value;
objectDataSource.SelectMethod = "Select";
objectDataSource.SelectCountMethod = "SelectCount";
objectDataSource.SortParameterName = "sortExp...
Hello,
I have an ASP.NET application that uses jQuery. My ASP.NET application dynamically generates some HyperLink elements based on some values in a database. When a user clicks one of these HyperLink elements, I want to display a jQuery dialog box that allows the user to edit the text of the HyperLink. I have this part working.
When ...
I have a UserControl that I want to include in a page multiple times programatically based on some business rules. Currently the control has a JavaScript function that must be called on the ASP.NET AJAX pageLoad event.
I'm using a pattern where the Master page has a pageLoad function that calls a contentPageLoad function on any Content...
So I have been waxing lyrical about a ASP.NET MVC to a friend who is about to start development of a new user interface....
He asked me if you could solve the following problem with ASP.NET MVC:
Imagine a web app that supports plugins. In the current ASP.NET WebForms app the pluggin developer provides a usercontrol and some JQuery.
The...
How to change user password for logged in user (and any field in user profile) if I use Silverlight Business Application?
...
Can you do a form submission to a different page in ASP.NET without using a cross page postback, from a non ASP.NET control, and with no Javascript!?
*Im using ASP.NET with a global form in the masterpage
*My site needs to work with no Javascript and I want to avoid URL paramaters.
*I'm using an which will open up a new page for a pa...
I have a gridview with this field:
<asp:TemplateField HeaderText="Title">
<ItemTemplate>
<asp:Literal ID="lblTitle" runat="server" Text='<%# Eval("Title") %>' />
</ItemTemplate>
</asp:TemplateField>
If the title is too long it completely breaks the gridview.
How can I:
Make the width of this column fixed.
If the conte...
I currently have a single jQuery script page that I include in my ScriptManager on my MasterPage (I use ASP.NET). All of my custom scripts for all my pages go in this page. I know some people like to break it up into multiple pages but I prefer having them all in one place. Anyways, I have one $(document).ready(function(){ //do stuff// }...
I'm using the Logging Application Block (LAB) in my ASP.NET application along with the Exception Handling Application Block to log any unhandled exceptions. I'm utilizing the Application_Error method in Global.asax to catch these errors. I'm writing to a Rolling Flat File. This all works just fine.
I'd also like to log debug messages us...
Hi,
I've written the code to post the information to a page, however I don't know how to make the post target the iframe I've placed on the page. (I haven't tested this code so I'm not sure if the post even works)
Dim param1, param2, result, url As String
Dim request As HttpWebRequest
Dim paramStream() As Byte
Dim reque...
Hi,
I'm having troubles finding where I can put code-behind for my dnn pages.
For example:
MyPage.ascx already has
<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
which it needs in order to be cast to a skin.
However, I want to be able to a...
My self as a Front End Developer, for many years I have resolved many browser and CSS related issues for Developers coding in ASP, PHP and XSLT.
I just want some Front End Designers and Developers to point out, which things to be consider when there is some Design issue in Programming.
Firebug is one option.
...
I have a GridView with an ObjectDataSource and I want to be able to sort it.
Paging works correctly, however Sorting gives me an exception:
"The GridView 'gridView' fired event Sorting which wasn't handled."
How do I enable sorting on the server side?
(i.e., gridView.EnableSortingAndPagingCallbacks must remain "false")
...
Hello,
I have an ASP.NET page where I am dynamically building LinkButton and TextBox elements. These elements are being built during the OnInit event of the page. The user can then perform an action that changes the values of these elements. The values of these elements are changed via JavaScript. When the user clicks a button, a server...
Hi all,
on any OOB sharepoint page, if you "tab" through the page, the first tab brings up a "turn on more accessible mode" menu item. that is, except for a page with a calendar web part. Once you tab off the browser menu, the first tab item becomes the calendar web part, skipping over the menu item and all other content.
I've tried ...
Hi,
I have built ASP.NET app. I need to utilize a third party COM object SDK for managing documents. The application's name is "Interwoven". According to the COM object documentation you should "Never create more than one IManDMS object per application".
So, I decided to create one instance of the IManDMS object and store it in an Appl...
Hi,
I would like to add a taglist in my webapplication. I have a list of tags with an integer indicating each tag's popularity.
Many web applications display the tags and their popularity using a different font-size.
Because it is so broadly used, I would think that their is a plugin out there that displays this.
An example of what I...
I have an
<object id="objPage" data="source.html" type="text/html"><object>
containing an HTML page, on the same domain. I am trying to send a String through Javascript from source.html to its parent, which is an aspx page. I need the child to be able to send that information. Any idea?
So basically it's:
[ASPX] [OBJECT] This s...