all groups > asp.net webcontrols > july 2003
Filter by week: 1 2 3 4 5
Dynamic controles
Posted by jan v at 7/31/2003 5:14:37 PM
hi,
im trying to get a dynamic questionnaire running on asp.net. But i get a
stack overflow exception.
this is my code, in the tblQuestions datatable there are only 4 datarows.
foreach (DsQuestionList.tblQuestionsRow dr in
this.dsQuestionList.tblQuestions.Rows)
{
Questions q = new Que... more >>
Custom WebControl.
Posted by George Ter-Saakov at 7/31/2003 11:20:41 AM
Hi. I am writing my own Validation control to validate the length of the
inputted string. Use RegExp seems to me an overkill for such simple task.
Anyway I declared my control as
public class GLengthValidator : WebControl, IValidator
Then I overwrote the Render method
protected override... more >>
Caching of dynamic loaded usercontrols
Posted by Sven Schimmel at 7/31/2003 9:05:12 AM
Hello,
I load usercontrols dynamically and bind them to
placeholders, depending on the querystring. If I add an
Caching-Tag in the UserControl I load dynamically I get an
error. Is there a way to cache dynamic loaded usercontrols
like a Usercontrol which displays the news.
Thanks for y... more >>
Help: Requiredfield validator
Posted by Sean at 7/31/2003 8:40:00 AM
Hi,
I have 2 buttons A and B, textbox C and dropdown list D. When A is clicked,
C is required field. When B is clicked, C and D are required fields. There
is a dummy entry "please select" in the dropdown list. When B is clicked, D
can't be the dummy option.
I wonder what is the best practic... more >>
Web Controls not displayed
Posted by Andy at 7/30/2003 7:22:04 PM
When I run my ASP.NET application, the web controls (e.g.
buttons, calendar, radio button) are not displayed on the
page. I do see text, however. Any ideas what is causing
this?
Thanks in advance.... more >>
drag and drop in a custom web control
Posted by Khoi Pham at 7/30/2003 1:26:14 PM
Hi all,
I wrote a custom web control that exposes two panel controls as public
properties.
I would like them to support drag and drop funtionality in design mode.
Is there an attribute setting that will allow this to work?
Thanks,
-Khoi
*** Sent via Developersdex http://www.develop... more >>
custom layout : RadioButtonList
Posted by Christian H at 7/30/2003 3:05:27 AM
Hi!
I'm wondering how I can add extra html to a radiobuttonList, so that I can
control how:
-the whole radioButtonList is rendered.
-each of the radiobutton elements are rendered.
What I am basically trying to do is to combine x radioButtonlists, so that
the output will look like this:
--... more >>
nested Datagrid
Posted by MS.Joo at 7/29/2003 11:29:58 PM
I must handle below data layout.
column1 column2 column3 column4
--------------------------------------------
a1 'Nested DataGrid' c1 d2
--------------------------------------------
a2 'Nested DataGrid' c2 d2
-------------------------------------------... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Text returned from a textbox.
Posted by Gary Monk at 7/29/2003 7:24:15 PM
I have a strange problem, I think. I have a web page with
a text box. In the page load function I set the Text
property to a value (the value is received from a SQL
query).
The user is able to change the value in the textbox on
the web page. When the user clicks on the save button I
up... more >>
TreeView control not working with SSL
Posted by Thomas Connolly at 7/29/2003 2:41:57 PM
Can anyone tell me how I can get the Internet Explorer
TreeView control to work in https (SSL). It won't
render. It gives an error message saying "The data at the
root level is invalid".
Thanks in advance,
Thomas... more >>
treeview.htc - Class not registered
Posted by Chris... at 7/29/2003 2:11:40 PM
I have an ASP.NET application that uses the Treeview (IE WebControls), and
some (1 of 100) users encounters a "Class not registered" exception which
appers in the treview.htc. I recived a "fix" that solved it - for a while -
on the machines that had the problem. The "fix" was to install IE6 SP1 F... more >>
Repositioning controls on a web page
Posted by pete at 7/29/2003 1:44:34 PM
I have a web page that the pageLayout property
is "GridLayout." I also have 2 DataGrid controls on the
page. Since the number of records can vary, how can I
position some information and then the 2nd DataGrid
underneath the first one? Do I have to change to Flow
Layout and put the begin... more >>
Closing Webforms - kalai
Posted by kalaiselvan at 7/29/2003 11:27:07 AM
hi,
I have an update button in a webform. When i click the button i want the
content to be updated and at the same time the form should get closed. How
come i can do that in code behind file using VB.NET...
Thx,
kalai
... more >>
Adding spaces to a ListItem
Posted by Larry Searing at 7/29/2003 11:26:40 AM
I would like to add spaces to a ListBox' items. When the
list arrives at the client, all spaces are removed. If I
put in the text, it displays as . However,
in a plain HTML <select> control, can be used in
each <option> to provide extra spaces.
I tried the HtmlSelec... more >>
newbie: asp page templatess
Posted by suzy at 7/29/2003 10:28:42 AM
hi i am quite new to .net and am trying to implement page templates but i
just cant seem to get it to work, and i dont quite follow the examples on
the net.
all i want to do is create a template where i have a header (user control),
left column, and footer on every page. the remainder of the ... more >>
User control and output cache
Posted by m_now NO[at]SPAM o2.pl at 7/29/2003 6:59:19 AM
Hello,
I already posted this question on aspnet.caching - but this group
seems to be more active.
I have created a navigation control that highlights current path based
on the URL (works ok).
In order to speed it up I declared the output caching inside my
navigation control.
5 secon... more >>
Calling a javascript function from server script URGENT HELP
Posted by Silvia Brunet Jones at 7/28/2003 2:54:07 PM
Ok I am about to pull my hair.
I have an active x control in an object tag which, as you
know cant have runat=server. So what I need is to not
loose what is in this box everytime a postback happens. So
all I want to do is add this statement
document.all.txtEditor.value =
document.all.Tran... more >>
Sorting a datagrid
Posted by Reetu at 7/28/2003 2:50:01 PM
Hi All,
I have developed a datagrid custom web control. I want to
provide the sorting functionality in that datagrid.
These are few links from where I tried learning how to
sort a datagrid..
After execution I dont see anything on the web form. None
of them seems to work fine.I dont kn... more >>
DropDownList Getting Value
Posted by Belton at 7/27/2003 7:08:01 PM
I have created a web form that includes DropDownList boxes that are
populated during method of the page via a databind with database tables.
When the data entry is completed and the add button clicked, I am unable to
capture the selected value of any of the ddl's. I have noticed that when
the d... more >>
Implementing Drag and Drop in ASP.NET
Posted by asianx74 NO[at]SPAM yahoo.com at 7/26/2003 10:55:06 PM
Hello. Would like to hear your thoughts on implementing drag and drop
in ASP.net without resorting to active x or hosting windows controls
in a Web Form.
Is this possible? I realize that this solution would require extensive
client-side DHTML to accomplish, but is there anything out there or
... more >>
compare validator to validate date in user control
Posted by Shailesh Katti at 7/26/2003 9:07:56 PM
Hi,
I have created a user control using calender control and text box
control. When user selects value from calender control, it is shown in
text box control. user can directly enter the date in textbox control.
I have five such user controls on the web form. I tried using compare
validat... more >>
Web Control Calendar
Posted by PABLIN at 7/25/2003 8:27:27 AM
Hello Community! I have a problem with the Web Control
CALENDAR, I have textbox in which goes the selected date
of the Control, when I choose the date must disappear the
control Calendar, this does not happen cradled is the same
date. I am desperate, that I must do?... more >>
treeview SelectedIndexChange problem
Posted by steven.shingler NO[at]SPAM virgin.net at 7/25/2003 6:19:40 AM
Hi all
I've a treeview made up of images in a directory structure
When the image name is clicked on in the tree, i'd like to be able to
popup the image in a new window
so far I've got a javascript function to handle my SelectedIndexChange
event:
function returnSelectedIndexCh(){
var ... more >>
how can i block the refresh of all page when click on a node of treeview?
Posted by babbawg NO[at]SPAM tin.it at 7/25/2003 1:20:18 AM
Sorry for my english...
I have a treeview web control that add node after click of a node: the
page post back and add new childs node from a db... but the ALL PAGE
REFRESH and i don't like it!!
.... is possible to block the refresh of the page?
....I have to use the client version of the tr... more >>
DropDownLists, ListBoxs, and CheckBoxLists
Posted by Pranav Shah at 7/24/2003 8:08:06 PM
I have a few DropDownLists, ListBoxs, and CheckBoxLists and assume for
the sake of argument that I want to put the same data in all of these.
Is there a way that I can just pass the name of the controls and
populate them in a common method.
*** Sent via Developersdex http://www.developersd... more >>
TreeView: Checkbox data not appearing in Request / POST data
Posted by Kris Oye at 7/24/2003 7:16:17 PM
I am creating a TreeView programatically in C# and then using the
RenderControl() method to send it back to the browser. I am attempting to
use the resulting checkboxes in an existing form, but when the data is
submitted back to the server for processing, none of the checkbox data
appears i... more >>
Interview Questions - Can somebody help out with Answers!!!
Posted by kalaiselvan at 7/24/2003 6:21:47 PM
Hi,
The below questions are some of the interview questions. If somebody can
help me out in answering it, will make a world of good.
Regards,
kalai
1. Explain the differences between Server-side and Client-side code?
2. What type of code (server or client) is found in a Code-Behind
c... more >>
Responding to Imagebutton click in DataList
Posted by jmb173 NO[at]SPAM yahoo.com at 7/24/2003 3:01:16 PM
I have two imagebuttons (A & B) on my page, and I am trying to create
events that when I click on image A, it becomes invisible, and Image B
becomes visible.
I can get it all to work fine when I'm not using it inside a DataList,
but once I wrap a DataList around the table, I get errors like: "... more >>
Loading a user controls in Design View
Posted by oneeye at 7/24/2003 2:51:19 PM
Hello All,
I have designed and built a web control that loads a user control at run
time. The question I have is, can I Load the user control in design view?
Any Ideas or code snippets would be really useful.
Thanks a bunch
oneeye
... more >>
how to make original control work from iframe's control
Posted by haiwen at 7/24/2003 12:07:09 PM
Hello, everyone,
I have a web page that has a IFRAME(because I need the
scroolbar for this area), and other server side controls
(such as Button(butNext), Image(img1)...)
the IFRAME's source page has a submit button, is there
some way to make butNext click when click the submit
button in IF... more >>
Conditional drilldown in DataList
Posted by Barry at 7/24/2003 11:18:38 AM
Hi,
I have a drilldown report using a DataList. When an item is selected, a
new DataList is displayed with the details of the selected item. The new
list displays one item with several fields and they're displayed
vertically. Eveything works very well so far.
It looks like this:
Item1
I... more >>
datagrid that wouldn't want to sort
Posted by Zeng at 7/24/2003 9:20:06 AM
Hello,
I've been creating several datagrids now and I ran into one of them that
wouldn't sort even though I believe I have done the usual things to make the
the columns sortable. Have anyone run into this issue before? There must
be something tricky that I missed.
Here is the html portion... more >>
Specified cast is not valid.
Posted by Alan Z. Scharf at 7/24/2003 3:29:50 AM
1. Getting above error after moving lines around and pasting in HTML view of
web form.
2. KB327287 says:
CAUSE
This problem might occur on postback because the control tree hierarchy is
re-ordered. On postback, the view state for controls is loaded based on the
positions of the controls (i... more >>
error creating controls - ASP.NET is broken - bug!
Posted by Xavier MT at 7/23/2003 11:27:46 PM
Hi, I have a problem if somebody can help I appreciate it
My VS.NET seemed to work fine and all of a sudden I started to get the
"error creating control message"
In my aspx page I drag a couple and controls and if I close it or switch to
HTML view and back again, my page is reformatted and ... more >>
Post back and control focus issuea
Posted by Sal at 7/23/2003 12:35:11 PM
To all ASP.Net gurus,
I am having a hard time controlling the focus on web server controls in my
..aspx pages.
I basically have three data entry web forms, consisting of comboboxes, radio
button lists and text boxes.
a couple of comboboxes and radio button lists have their autopostback set to... more >>
IE Web Controls
Posted by Riken at 7/23/2003 10:50:08 AM
Hi,
Downloaded IEWebControls.exe application & run on local machine
O/S: Win Advance Server 2000
Framework: 1.1
Notes:
* During installation its Creating folder on C: i.e C:\Program Files\IE Web
Controls
* I search My Computer for 'Microsoft.Web.UI.WebControls' assembly but it... more >>
ASP.NET Datagrid control
Posted by Simon Fainveits at 7/22/2003 8:04:43 PM
Does anyone know how to set up multiple parameters in the
hyperlink column of the datagrid using property builder.
Many thanks
Simon... more >>
Missing attributes in ListItems
Posted by Robert Pouleijn at 7/22/2003 3:27:48 PM
Hi all,
I have found some code on the internet to avoid the following bug in ASP.Net
Dropdownlists and Listbox's:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q309338.
The code is a class that inherits from the Dropdownlist and overrides the
RenderContents subroutine. It wo... more >>
Treeview - retrieving node in the Expand event
Posted by Kath at 7/22/2003 2:40:54 PM
Hello
I'm having problems getting the correct node in the
expand event
If I use:
Dim CurrentNode As TreeNode
CurrentNode = sender.nodes(e.Node.ToString)
CurentNode is always the top node despite e.node.tostring
changing from 0 to 0.1 or 0.0
Is this a bug or am I doing something wro... more >>
Displaying RTF file in web form
Posted by Ron Fluegge at 7/22/2003 3:12:30 AM
I have searched with Goggle and in Deja and have come up empty. And someone
is gonna point me to a place that has all the info (oh well, I'll just blame
not having enough coffee <G>).
I have an RTF document that displays just fine in a Windows RichTextBox;
however, there does not appear to be... more >>
ActiveX dll not responding when used in WEBFORM
Posted by VS at 7/21/2003 5:45:49 PM
Hi there,
I am trying to use an ActiveX dll on my webform with no luck.
I added the reference and everything seems to work fine since I m able to
look at the Methods of the library.
The problem arises when I call a method which is supposed to return an
integer. I get no error but the browser... more >>
problem with name created when control is rendered.
Posted by Sean Gamino at 7/21/2003 3:21:30 PM
Hello,
I am creating a html server control that is in a datalist. I need to access
this controls value on the client via javascript but the name is being
overwritten with a unique value generated by ASP.Net. This makes it rather
impossible to access the control in javascript because I do not k... more >>
RadioButtonLists and Javascript
Posted by ssarthur2 NO[at]SPAM yahoo.com at 7/21/2003 3:02:42 PM
I have created an ASP.Net page that contains a RadioButtonList. I
want to access these radio buttons using Javascript. However when the
page renders, the application wraps the <input> tags inside a <span>
tag with the same name.
This makes the buttons difficult (if not impossible?) to access... more >>
Populating a treeview contol from an xml file
Posted by Jason Shohet at 7/21/2003 11:11:33 AM
Hi,
I'm trying to populate a treeview with an xml file. I have an xsl file
associated with the xml file but the control asks for an TreeNodXsltSrc can
anyone please tell me how to generate an XSLT file from an Xml file.
Thanks for your help
... more >>
Design time postion of custom control??
Posted by Harry Simpson at 7/21/2003 10:40:24 AM
Simple question for you veterans...
My test page has two controls and they are laid out in VS2003 designer as
follows:
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<cc2:Multiplier id="Multiplier1" style="Z-INDEX: 101; LEFT: 96px;
POSITION: absolute... more >>
Problem with Hyperlink.NavigateURL="../../" in WebControls
Posted by Christoph Schuster at 7/21/2003 7:14:19 AM
Hi !
I use cookieless sessions and have a aspx, which
dynamically includes some ascx.
These ascx resist in several subfolders. When i create a
Hyperlink-Object in these ascx, and give these Hyperlink
a navigateURL with e.G. "../../index.aspx?...",
everythink workes fine, but when i change ... more >>
Disabling some of the days in a Calender
Posted by Sudhir Pai at 7/21/2003 3:36:57 AM
Hi,
I have a requirement in the Calender control, that the
user should be able select only dates bewteen TODAY and
NEXT_TWO_WEEKS. All the other remaining days should be
disabled.
How can I customise the Calender Control in order to
achieve this?
Are there any custom controls avalia... more >>
Pop-up control
Posted by Paul Aspinall at 7/18/2003 4:02:08 PM
Hi
I want to create a control that I can have 'pop-up' on a page, and the user
can select from. A similar principle to the Calendar control.
Does anyone have any samples of how to do this??
Thanks
... more >>
Re: Design time "move" and "resize"
Posted by Rob Mayo at 7/18/2003 3:29:45 PM
I saw the following post on dotnet24x7.com. Usually Victor Garcia Aprea =
has been pretty helpful.=20
I have a similar issue. I WANT to derive from control, not webcontrol =
because I don't want all those other properties, only mine. I'm just =
seeking a little clarification and perhaps a code s... more >>
Calendar Control custom navigation problems
Posted by Giancarlo Persico at 7/18/2003 12:47:48 PM
I have a simple calendar control with a dropdownlist underneath which allows
the user to select the year they wish the calendar to display. The
dropdownlist has AutoPostBack set to true and works fine EXCEPT for after
you navigate the calendar using next/previous - the dropdownlist then no
longe... more >>
|