all groups > asp.net webcontrols > april 2005
Filter by week: 1 2 3 4 5
Text_Changed ?
Posted by Alex Nitulescu at 4/30/2005 10:15:02 PM
Hi. I have kind of a 'file manager' on my website. It also allows for
changing some text files (for administrative purposes). My question is
this - is it possible to detect the changes in a text box and react
accordingly ? Text_changed works only on posting back to the server. I would
like t... more >>
How to render script code at the end of Page?
Posted by Jeff at 4/30/2005 2:35:58 AM
How can a custom control render script at the end of page source?
Through render function inherited from WebControl,I can only render script
just above before or under my custom control,but cannot locate script under
all controls in the page.... more >>
HELP! TabStrip with Multipage is not working!
Posted by Phin at 4/29/2005 3:52:13 PM
Hi,
I have spent some time trying to get the tabstrip and multipage to work
(from the IE web controls).
I read the article from:
http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/tabstrip.asp
On the bottom of the above URL there is a button that says "show m... more >>
Calling Properties, Methods from other .aspx
Posted by Tomas Kepic at 4/29/2005 12:52:06 PM
Hi,
I have a problem with calling method or properties which is used in other
..aspx form. Is always throws me an error:
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
I'm using something like this:
******************** "defaul... more >>
Confirm Delete in DataGrid
Posted by Amelyan at 4/29/2005 12:00:00 AM
I found an example (below) in www.codeproject.com showing how to enable
DataGrid's delete buttons with confirmation. However, the example didn't
explain why the complicated if-condition is the way it is.
I tried just having the one line of code that adds confirmation script
without if-cond... more >>
xml, dataset, datalist
Posted by buran at 4/29/2005 12:00:00 AM
Dear ASP.NET Programmers,
I need your help on the following case:
1. I have a page coverpage.aspx, on which I load invoice data into the
datalist control dliHospCosts. I use the stored procedure spGetHospAmounts
and load the data.
<ItemTemplate>
<TABLE id="Table77" width="100%"... more >>
Converting XMLDocument To String
Posted by Vishesh Vyas at 4/29/2005 12:00:00 AM
Hi,
Is there any way to convert the xmlDocument object to an XML String.
Thanks in advance.
Regards,
Vishesh.
... more >>
Rollover from Image Ready
Posted by Rudy at 4/28/2005 8:44:03 PM
Hello all!
How can I take a rollover button that I made in Adobe Image ready, in put it
in ASP.net, and get it to work. Or how can I do the same effect in asp.net
Thanks!
Rudy... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do you display and process confirmation dialog?
Posted by Amelyan at 4/28/2005 3:21:27 PM
What is the common way in ASP.NET C# to pop up a confirmation dialog box?
E.g.
Are you sure you want to delete this item?
Yes No
... more >>
Arrow keys and the datagrid...
Posted by Bob Morvay at 4/28/2005 3:13:33 PM
My users want to be able to use the Web Datagrid like an excel spreadsheet.
This means a fully editible grid with arrow key navigation between cells.
The grid seems to support horizontal tabbing between cells but nothing for
the arrow keys. I have googled for sample code but the best that I coul... more >>
How to use Microsoft Rich TextBox control 6?
Posted by Sean at 4/28/2005 2:30:16 PM
Hi,
I have a project which is to display RTF content on web pages. I add the
Microsoft Rich TextBox control to ASP.NET page, and it works in some
computers. However, in other computer, it only shows the icon.
Is there anyone know how to use Microsoft Rich TextBox on ASP.NET pages?
W... more >>
Short-cut to New chromeless aspx page ?
Posted by JDP NO[at]SPAM Work at 4/28/2005 11:00:47 AM
I want to add a short-cut to a windows app similar to launching from a windows
run line
a New window, to prevent changing an existing browser window from moving off a
current logged in session to another web application.
And, I'd like it to be a chromeless window, sans toobars and sized simi... more >>
how to use winform in IE
Posted by msNews at 4/28/2005 12:00:00 AM
hi,all
i want to use a winform control in IE,just like ActiveX
how to realize? Thanks
jecky
... more >>
HowTo Loading ActiveX dinamically at runtime ?
Posted by Leo sailer at 4/27/2005 3:50:03 PM
Hi,
The point is the following I need to add ActiveX control dinamically in a
Webform. Currently I'm doing this using a literal control and "writing the
HTML Code" for example:
lit.Text = "<OBJECT id=Dtpicker1 name=Dtpicker1 height=24 width=90%
align=center classid='clsid:20DD1B9E-87C4-11... more >>
TabStrip sample displays text only
Posted by NevilleT at 4/27/2005 1:22:01 AM
I downloaded the Webcontrols for IE sample from the Microsoft site including
the tabstrip. When I try to run the sample, it just displays text.
Home About us Products Support Contact us
There are no tabs. Am I missing something?... more >>
Problem with ViewState
Posted by Matteo Migliore at 4/27/2005 12:00:00 AM
Hi.
I'm building a custom control
that contain a property that is a
custom collection.
This custom collection return
as element an object of class A.
Class A contain a property that is
of the same type of the collection up.
The problem is I use ViewState to
mantain status of the col... more >>
Textbox error
Posted by Vishesh Vyas at 4/27/2005 12:00:00 AM
Hi,
I am getting the following error when i place "<a>" text in a text box and
submits the value..
"A potentially dangerous Request.Form value was detected from"
Thanks and Regards,
Vishesh.
... more >>
createuserwizard refuese to add users due to password
Posted by Boyan at 4/26/2005 8:42:01 PM
I am using microsoft web developer express beta a to try our the new features
of asp.net 2.0. When working with the the createuserwizard control, I found
it always showed a "select a different password" message when I try to add a
user. The passwordregularexpression property is empty by defaul... more >>
How to implement a property like ControlToValidate property?
Posted by Jeff at 4/26/2005 8:26:02 PM
I want to implement a property in a custom web control. The property
is like ControlToValidate property of standard validators.
My problem is how to implement the design-time function of this property.
ControlToValidate in the property window will show a dropdown list which
contains all con... more >>
Any Descent Gantt Chart ASP.NET Webform Components?
Posted by Altemir at 4/26/2005 5:05:05 PM
I can't seem to find any kind of ASP web charting component that will
produce a descent Gantt chart that is capable of showing the percent
complete status of each task.
I've looked at ChartFX, iLOG, Nevron, and many others, but I don't
think any of them are capable of showing percent complete.... more >>
Formatting in ASP.NET 2.0 Menu Control
Posted by Raventhorn at 4/26/2005 11:14:04 AM
I am having trouble figuring out what properties of the Menu control to set
in order to have a menu which looks like the one at my company's current
site, www.bridgespangroup.org. The menu is rather straight forward but I
cannot get things such as text alignment or alignment of the menus to wo... more >>
Submit Form on Enter Pressed
Posted by TCORDON at 4/26/2005 9:34:30 AM
Why does the click event of an image button that submitts a form does not
get fired when ENTER is pressend on a textbox of that form? How can I make
this happen?
Thanks
... more >>
How to use a hidden field with repeater checkboxes?
Posted by aaa at 4/26/2005 8:30:35 AM
Hi again,
I have a repeater that is assign an object and cranks out a bunch of
checkboxes.
That part works fine.
How do I assign a hidden field, (a key field) to each of those checkboxes?
I was thinking a hidden label but that seems like such a kludge...
TB
... more >>
Treeview IE Web Control and Mac
Posted by Joe Abou Jaoude at 4/26/2005 6:55:09 AM
hi,
I have a website that must make it compatible with Mac.
One of the biggest chalenges I m facing is the treeview control. It's
not working properly at all. Note that on Mac , I m browsing with
Internet Explorer.
Have someone worked on Mac and know some workarounds ? or anyone can
give m... more >>
Must declare the scalar variable '@FirstName'
Posted by Ken Adeniji at 4/25/2005 10:14:01 PM
Must declare the scalar variable '@FirstName'
ContactGridViewWebForm.aspx
<aspqlDataSource
RunAt="server"
ID="SqlDataSourceContact"
ConnectionString="server=localhost;database=WordEngineering;Integrated
Security=SSPI;"
ProviderName="System.Data.Ol... more >>
TabStrip/Multipage using UserControl (.ascx) contained within a UserControl(.ascx)
Posted by shaileenpatel NO[at]SPAM yahoo.com at 4/25/2005 2:21:19 PM
Hi All,
I need some help. This is a bit detailed and hopefully I explain it
completely. Please let me know if you have any questions. I have
successfully written an application in which I have a single main page
(.aspx) and I switch User Controls(.ascx) on a panel control to
represent the dif... more >>
Copy Paste label textbox aspx code
Posted by tlasher NO[at]SPAM dmacc.edu at 4/25/2005 1:11:56 PM
First off, I have a huge aspx file for an application form.
The form has several fields per division item.
For example: Basic Information
Employment Information
Education Information are division items.
What I need to be able to do is to copy and paste label ... more >>
Adding Event Handler to Dynamically added Controls
Posted by John Kilgo at 4/25/2005 12:03:30 PM
I'm dynamically adding literals and .net controls to a Placeholder control. Everything works to a point(my literals are added and my controls are added). But I need to add an event handler, specificall for a checkbox. My code is something like this:
litText = new Literal();
litText.ID = "anID";
... more >>
How do I transfer a value from a Querystring (codebehind) to a JavaScript function?
Posted by aaa at 4/25/2005 10:15:13 AM
I'm a little baffled on how I transfer a value from a Querystring in code
behind and then transfer it to a javascript function. Any help is
appreciated.
... more >>
How to get the file's name after click the Browse... in HtmlInputFile
Posted by Kylin at 4/25/2005 12:00:00 AM
click the Browse... button,
and choose a image from local disk,OK.
and how to show the image in the webpage .
before it be uploaded ?
--
FireCrow Studio
Kylin Garden
EMail:w0wd@sohu.com
ICQ:156134382
... more >>
Client side dynamic graphing problem
Posted by Nevets Steprock at 4/25/2005 12:00:00 AM
I am familiar with application programming, but only started web-programming
a month ago. I want to have a graph on a webpage that the client can click
on and interact with. Specifically, I want the client to see a bar chart
with three bars each representing a different quality (for ease of
expl... more >>
Form Post Back in ASP.Net 1.1
Posted by Sundararajan at 4/24/2005 11:39:01 PM
Dear Folks,
I have a hyperlink in my page - webform1.aspx
on click of this i want it to post back to the second page -webform2.aspx.
is this possible in ASP.Net 1.1. if so how can i go about it.
I tried to use a javascript function for this
function dopostback()
{
document... more >>
ASP.NET project and Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Posted by Amelyan at 4/24/2005 9:20:49 PM
VisualStudio is trying to copy older version of Company.Interface.dll into
runtime directory from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\ and I
get this warning.
Warning: The dependency 'Company.Interface, Version=1.0.1940.30685,
Culture=neutral' in projec... more >>
Referencing to .ascx
Posted by Tomas Kepic at 4/24/2005 3:16:02 PM
Hi all,
in my application I create a USER CONTROL with name "test.ascx" with one
textbox named "User" and one button "Submit".
In my default page "default.aspx" I add this user contorol to page with using:
Control AAA = LoadControl("test.ascx");
FirstTest.Controls.Add(AAA);
and refere... more >>
How to Remove item from DropDownList ?
Posted by Kylin at 4/24/2005 12:00:00 AM
Just The Title !
Thanks!
--
FireCrow Studio
Kylin Garden
EMail:w0wd@sohu.com
ICQ:156134382
... more >>
Datalist and LoadTemplate
Posted by Albert at 4/23/2005 4:59:02 PM
I have a main web page that allows a user to perform searches on our
products. On this main web page I have a datalist that I would like to use
for all types of searches and it's declares as follows:
<asp:datalist id="ddl_generic" onitemCommand="itemSelected" runat=server>
</asp:datalist... more >>
Weird "defined in multiple places" error
Posted by Staffan Eketorp at 4/23/2005 1:24:04 PM
Ok...I get the "classical" error:
CS1595: '_ASP.A_ascx' is defined in multiple places; using definition from
'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\2b5cf18c\86b61b77\isblapsv.dll'
Ok...but what renders this error?
<%@ Register TagPrefix=Hello TagName=... more >>
How do I set the value of a checkbox on my repeater control?
Posted by aaa at 4/22/2005 2:42:48 PM
Hi,
I have a repeater that is assign an object and cranks out a bunch of
checkboxes.
That part works fine. In the object I am also passing over the values to
switch the checkboxes on and off.
How do I do that after the fact? I have tried looping thu after the
datasource is assigned but th... more >>
Losing selectedIndex on Control inherted from ListBox during postback
Posted by chambersdon NO[at]SPAM hotmail.com at 4/22/2005 6:24:53 AM
I have created a Web Custom Control that inherits from
WebControls.ListBox but can't get it to retain the selectedIndex after
a postback. As a test I created a very simple version of the control
with no additional code. I just inherited from the exisiting ListBox
class and put the control on a... more >>
customizing and fixing web form window size ?
Posted by Saket Mundra at 4/21/2005 7:00:02 PM
I want to resize my web form. I want that whenever the form loads on client's
machine it opens with a defualt size specified by me. Also it should not be
possible for the user to change the dimensions of the form after it is loaded
i.e the size of the form shall remain fixed. Pls help out.
... more >>
Enabled / Disabled my control
Posted by David at 4/21/2005 4:04:19 PM
Hi,
My Control (inherits from System.Web.UI.Control) has the Enabled property
that enabled a button inside of my control. The problem is that in the page
that has the control has a button ("Edit") to set the Enabled property to
true and when is pressed first load and build the control, and the... more >>
DropDownList with default values
Posted by Oleg Ogurok at 4/21/2005 10:28:38 AM
Hi all,
I'm trying to extend DropDownList ASP.NET control to list US states. What's
the best place to override and fill the Items collection?
I understand Items is of type ListItemCollection, which implements
IStateManager; therefore I only need to populate the collection once. What's
the C#/... more >>
textbox onfocus event
Posted by David Perez at 4/21/2005 9:40:51 AM
Hi all,
We are working in an application that must have this textbox property:
When a user click on a textbox, the textbox must throw a new aspx window
with a Calendar control on it. When the user select the date this new window
mut be closed and the date picked must be shown in the textb... more >>
Style tag access webcontrol
Posted by Shark Bait at 4/21/2005 9:40:03 AM
I created a new WebControl that can be dropped on a web form from the
toolbox. I drop the control on the form and it looks great. When I drag it
around, like say to the bottom of the page it goes to the bottom and adds a
"style" attribute to the control with the positioning information. Still ... more >>
Gridview OnPageIndexChanging not firing in beta 2
Posted by Ohio Mike at 4/21/2005 7:08:03 AM
I recently installed the Visual Studio Beta 2 environment and now my
OnPageIndexChanging methods don't get called when a change page button is
clicked on the GridView control. It worked fine in Beta 1, but now it
doesn't fire. The change page buttons cause a postback, all of the controls
... more >>
Protected Shadows With Events.
Posted by Tony Doyle at 4/21/2005 12:00:00 AM
Has anybody come across this before...
Basically my issue is this.
In ASP.NET I have a Class module, functions.vb
This inherits from System.Web.UI.Page
In order to use the controls function inside this class, I have used the
following line
Protected WithEvents phTopmostFloat As
... more >>
dynamic textbox empty string
Posted by thomas via DotNetMonster.com at 4/21/2005 12:00:00 AM
I create throug LinkButton several dynamic textboxes. I've got two methods
two register the control, that the don't get lost on the postback!
private void registerDynConrol(System.Web.UI.Control control)
{
ArrayList dynCtlArray = (ArrayList) this.ViewState["dynCtlArray"];
if(dynCtlArray... more >>
Can a User Control display a pdf or static html file?
Posted by mcrpds via DotNetMonster.com at 4/20/2005 10:55:15 PM
gurus,
i want to have a static panel (no iframes please) display pure html such as
an exported crystal report or a pdf file. is this possible? any suggestions
or info would be appreciated. and thank you in advance!
mcrpds... more >>
e.Item.Cells.Count in UpdateCommand event of Datagrid
Posted by VBTECH at 4/20/2005 5:54:01 PM
I have a datagrid in an ASp.net application. Only one column is created at
design time, rest of the columns are created and added to grid on the fly.
When I try to update values in datagrid through UpdateCommand event code
errors out.
e.Item.Cells.Count returns 1 even though I have more colu... more >>
ASP.NET Book Recommendation
Posted by Amelyan at 4/20/2005 5:22:35 PM
Can anyone recommend a good intermediate to advanced ASP.NET book?
... more >>
|