all groups > asp.net webcontrols > november 2004 > threads for november 8 - 14, 2004
Filter by week: 1 2 3 4 5
Validator Question
Posted by Patrick.O.Ige at 11/14/2004 7:27:07 PM
Validating an email like code@code.com with expression :-
ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)$"
About if i want to validate code@code.com.au
Any ideas?... more >>
Any Automatic Client-Side DataGrid Functionality?
Posted by Alex Maghen at 11/14/2004 4:10:01 PM
Hi. Is there any client-side functionality built in to the DataGrid control
that I can just "turn on"? For example, when the user rolls over or clicks on
a row, can any of the effects for what happens when they do that stuff be
done on the client side with JavaScript that I don't have to write... more >>
Per-Row Function Calls in Data-Bound List Controls
Posted by Alex Maghen at 11/14/2004 3:19:02 PM
Hi. Say I have a DataReader object with a bunch orf rows. Each row has a text
string column and a boolean column.
When I go to display the data in one of the List Controls (such as the
Repeater or DataGrid), I want the string column to be displayed directly.
BUT, for the boolean column, I'l... more >>
body onload set server side
Posted by Peter Young at 11/13/2004 2:59:14 PM
Is there a way to set the <body> tag's onload script event from a custom web control's server-side code?
For example, how would you get the HTML to render like this:
....
<body onload="alert('Hello');">
....
... more >>
How can i disable validation of a page in my custom control.
Posted by Umut Tezduyar at 11/12/2004 11:29:07 PM
I want to disable RequestValidation that consumers of my custom control. Is
there a way for this.
Infact my problem is:
By using the control that i am developing, my users can write html from the
web site. But framework 1.1 is disables it by default.
@Page RequestValidation=true. I want t... more >>
DataGrid's Strange Problem
Posted by A DEVELOPER at 11/12/2004 10:26:01 PM
my table has total 3 columns like emp_id(primay key),emp_name emp_address
i m populating my datagrid at run time successfully .
now i add functionality of hotmail model(checkboxex) in it successfully
but for this i did enhanced simple datagrid's functionality and
add one template column and pl... more >>
MS_POSITIONING="flowlayout"
Posted by Kelly at 11/12/2004 4:34:34 PM
Hi all -
I'm just wondering about something. I have been using gridlayout for my
project, but was recently told why flowlayout would be best (for my project
anyway). So, I went into the HTML and changed my MS_POSITIONING to
flowlayout, but the auto sizes, locations, and positions are still the... more >>
radio button CheckedChange event
Posted by Kelly at 11/12/2004 2:21:51 PM
This is a multi-part message in MIME format.
------=_NextPart_000_0020_01C4C8C2.F4248060
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all -
I have a form with 3 radio buttons, representing 3 textboxes. The user =
will be required to ente... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HOWTO: Do Web Control relative screen positioning during PostBack
Posted by Dan Sikorsky at 11/12/2004 2:04:43 PM
How do you get the x,y pixel location of a textbox so that you can position
the Web CalendarControl popup nearby the associated textbox that will
contain
the date selected? This needs to be done on the postback, so no javascript
will do.
--
Thank you kindly,
Dan Sikorsky BAB, BScE, MSC
... more >>
ASP.Net Checkbox control nested within repeater control...HELP!!
Posted by menairb74 NO[at]SPAM yahoo.com at 11/12/2004 1:33:53 PM
So much for ASP.Net controls being easier to set up than classic ASP
ones. I'm trying to set up a page that will contain a couple grids
with 4 checkboxes per row, with the number of rows dependent on my
number of records returned. I figured for this approach, I would use
a repeater control, wi... more >>
Check Max Length
Posted by Mike Moore at 11/12/2004 7:00:06 AM
Is there a asp.net validator control that validates the length of the text
being entered or does everyone just write jscript for this?
... more >>
validationsummary control
Posted by rufus at 11/12/2004 5:39:02 AM
How do I access the error output text of the validationsummary control so
that I can reformat how it is displayed?
Thanks... more >>
Fire Event From User Control
Posted by Da Rabit at 11/11/2004 5:55:54 PM
I need to fire an event from a user control and catch it in the parent page.
I cant seem to find any help in the MSDN etc.
Any code examples / refrences will help greatly .
Thanks in advance
Elrond Bishop
... more >>
making checkboxlist checked comparing it with integer value
Posted by a developer at 11/11/2004 3:18:03 PM
i want to make checkboxlixt check or unkchek on the basis of certain values
like 1,2,3 here my checkboxlist have values like 1,2,3, now i m storing
values (integer types like 1,2,3,4,5,6, etc. ) and coparing these values
with checkboxlist's values but getting error as ..........
Exception ... more >>
Currency Symbols in tooltip
Posted by jpike NO[at]SPAM welcom.com at 11/11/2004 12:46:50 PM
I have a table that has a tooltip on it, and within the tooltip I have
a currency symbol. Some of the symbols display fine, while others
(India, etc) do not render and just have boxes. Is there anything I
need to do to make them show correctly.
Note:
- The same symbol shows up fine on the pa... more >>
skmMenu in Mozilla
Posted by aithal NO[at]SPAM comcast.net at 11/11/2004 10:17:56 AM
Scott Mitchell has really done us all a great service by developing
this control and making it available as open source.
"I recently downloaded the skmMenu 2.2. I have Visual Studio 2005 Beta
1 on XP Pro and am using skmMenu with that.
When I launch my application in IE, the menu shows as ex... more >>
LinkButtons within a Repeater Control
Posted by Majek at 11/11/2004 8:23:06 AM
I have created a repeater with a linkbutton for each databound item.
When I fire off the repeater controls ItemCommand I execute the following...
For indx = 0 To rpContacts.Items.Count - 1
Dim btnMyContact As LinkButton =
CType(rpContacts.Items(indx).FindControl("btnContact"), LinkButton)
... more >>
Treeview.htc
Posted by Osvaldo Colitti at 11/11/2004 2:45:02 AM
I'm using a TreeView Web Control (IE) in an ASP .NET page.
In the result aspx page i see this line:
<?IMPORT NAMESPACE=TVNS IMPLEMENTATION="/webctrl_client/1_0/treeview.htc" />
This works fine with a website, but i have to use a virtual directory and in
that case it does not work.
I suppo... more >>
Newbie question re: datagrids
Posted by Kelly at 11/10/2004 3:05:42 PM
Hi all - Let me preface this by saying I'm very new to .net and this is my
first asp.net project...so please be patient. :)
I have set up an Access db with one table called "tblNames"...the table has
2 fields. (This is just a "test" db I'm using to see if I can actually make
something work bef... more >>
Datagrid
Posted by john pryor at 11/10/2004 2:45:03 PM
I have a calendar control in the edit field of a template column of a
datagrid control and I don't know how to capture the events generated when a
user changes dates. Once the calendar control is on the template it doesn't
expose any events for me to capture, how can I fix this?
--
John P... more >>
Showing Error in pop-up boxes in Web Forms
Posted by ipsita.mohanty NO[at]SPAM gmail.com at 11/10/2004 10:06:26 AM
Hi!
I am working on a ASP.NET webform application. I need to show errors
on a pop-up window. I want to show some general program related errors
and not just errors from input validations which can be showed on a
ValidationSummary control. Please let me know if there is a way to do
it.
Than... more >>
Regular Expression - Show error if string is matched?
Posted by codemonkeyjunkie NO[at]SPAM yahoo.com at 11/10/2004 8:31:18 AM
I'm trying to raise an error if a pattern is matched rather than
trying to match a pattern.
Example:
the Regular Expression Validator should show the error message if
either of the following string are found: ".wmv" or "8080"
str = "http://somewhere.com/somefile.wmv" - show error
str1 = ... more >>
How to add Include file like ASP script was - Plz help
Posted by Rizky Kurniawan at 11/10/2004 8:09:04 AM
Dear All,
Hi I'm newbie to ASP.NET & C#, I just to know how to figure out Include file
like ASP script was. Here code snipplet I was use
<html>
<head>
<%include {file-included e.g: header.html } %>
</head>
<body>
..... <!-- script for body -->
</body>
<%include {file-included e.g: ... more >>
Datagrid Paging Not Showing Numbers
Posted by csgraham74 NO[at]SPAM hotmail.com at 11/10/2004 2:44:57 AM
i have set my dataset paging allowpaging=true and i have got my
dataset working correctly, however my datagrid uses < > symbols for
navigation throught the records. I require the grid to show page
numbers for navigation through the records how do i get this to work.
Thanks in advance
Colin ... more >>
C++ or VB? Thanks.
Posted by Miguel Dias Moura at 11/10/2004 12:51:24 AM
Hello,
i am working in ASP.Net / VB web sites. However i need to take a
decision so i can buy some books and start studing some subjects.
For Web: C++.net or VB.net?
For Aplications: C++ or VB?
What are the positive and negative things about each one?
What should i choose?
I was look... more >>
Postback from javascript
Posted by Jeronimo Bertran at 11/9/2004 12:35:16 PM
I created a user control and I want to post back to the page when certain
events occur in the control.
I have been reading about doing this by assigning the
Page.GetPostBackEventReference to an event... however, in this case, the
call needs to be made inside the javascript code when one of ... more >>
DataGrid - BorderStyle="None" and BorderWidth="None" doesn't work for Firefox
Posted by David Freeman at 11/9/2004 11:23:33 AM
Hi There!
I'm using ASP.NET 1.1 and VB.
Below is my DataGrid declaration...
<asp:DataGrid
id="myDataGrid"
runat="server"
AutoGenerateColumns="false"
OnItemCreated="myDataGrid_ItemCreated"
Style="width:100%;border:0px;b... more >>
How do I init DropDownList in EditItemTemplate?
Posted by Jon J. at 11/9/2004 11:10:02 AM
For a DataGrid with in-place editing, I have a databound DropDownList in one
column. How do I initialize it to a specific value? Is PreRender a good
event to use?
Here is the column code:
<asp:TemplateColumn HeaderText="Current Status">
<ItemTemplate>
<asp:Label ID="lblStatus" Text... more >>
DataList Question
Posted by Edith Carpenter at 11/9/2004 9:35:25 AM
Hello all!
is it possible for a datalist to have a datareader as its source instead of
datasets?
thanks a million!
--A
... more >>
Binding ArrayList of Custom objects to DropDownList
Posted by Holysmoke at 11/9/2004 7:45:01 AM
Hi,
I trying to bind an ArrayList which contains objects from a custom class.
I get an error 'DataBinder.Eval:
'BookBuilding.ServiceAuthApplications.CabUser' does not contain a property
with the name DomainUserId.
The ArrayList of objects contains objects of CabUser class (my custom cla... more >>
Problems creating a Designer
Posted by Kjetil Nordahl at 11/9/2004 4:09:02 AM
In designview of the WebForm, my control shows the error message: "Error
Creating Control - ReportDate1 (i)".
Failed to create designer
'System.Windows.Forms.Design.ComponentDocumentDesigner,
System.Design, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'
What is wron... more >>
How do I know when to use the Viewstate and when to use the posted data? :-)
Posted by Simon at 11/9/2004 12:02:40 AM
Hi everyone,
I have a quick question that I hope someone can help me with:
I've made a user control that contains a text box and some validation
functionality. This control has a few extra properties declared on it over
and above that provided by the textbox.
As I understand it, part of... more >>
Calendar Control........
Posted by saintthomson NO[at]SPAM yahoo.com at 11/8/2004 10:47:44 PM
Hi,
When we drag a calendar control, you will be able to see the
previous and next month dates in the control[iam not talking about the
header], the dates,
I need to show only the dates for that particular month, is
that possible,[Everything is possible], but let me know how i... more >>
Datagrid Header ButtonClick
Posted by Alexander Herrmann at 11/8/2004 2:40:02 AM
Hi there.
I got a customized DataGrid which columns are generated by 2 Classes that
inherit from DataGridColumn. Now I added an Button to the Header and want to
handle its click. My Problem now is to get the Buttons ArgumentName etc. in
my main class where I generate the DataGrid. How can I d... more >>
Is Passing Parameters to an ASPX page like ASCX controls possible?
Posted by David Freeman at 11/8/2004 2:37:02 AM
Hi There!
I'm just wondering if there's a way to pass parameters (as if you were
passing parameters to a ASCX web control) when calling an ASPX page?
e.g.
MyDetailsPage.UserName = "david"
OR... the only way to do it is to use the QueryString or Session object?
Thanks all in advance!!!... more >>
ResponseEncoding in Web User Control Page
Posted by Tom at 11/8/2004 12:30:01 AM
Hi,
I set the ResponseEncoding="UTF-8" for the aspx page. I created a web user
control ascx page which also needs ResponseEncoding="UTF-8".
I added the following lines of code to the aspx page:
<%@ Register TagPrefix="top" TagName="topmenu" Src="top.ascx" %>
<top:topmenu id="TopMenu" ... more >>
|