all groups > asp.net webcontrols > march 2007
Filter by week: 1 2 3 4 5
future and alternatives to SVG
Posted by xenu at 3/30/2007 10:50:01 PM
Hi there,
Our product is ASP.NET app with a lot of SVG. Because IE is the only browser
we write for, the best [so far] solution for SVG was Adobe SVG viewer. We
had 3 sweet years with that but Adobe announced the end of their support for
SVG and we do not know what to do.
I see a some move... more >>
Display does not always show the changes
Posted by active at 3/30/2007 9:40:48 PM
I make changes in a .aspx file and press Ctrl+F5
The resultant display does not always show the changes.
Is there something else I must do to insure the changes show?
Thanks
... more >>
Errors adding user control in web application
Posted by mbrundieck at 3/30/2007 2:22:01 PM
Hi,
I have a web user control that was built in one project that I want to add
to my ASP.Net 2.0 web application project. I know what I'm trying to do will
work fine in a Web Site project, but I don't want to convert my project to
Web Site project to accomplish this.
I have tried using the... more >>
Can I make this look like a button and act like an a href ?
Posted by active at 3/29/2007 9:44:18 PM
<a href="Register.aspx" class="button" id="Image1" runat="server" > "Create
a new account"</a>
Can I make this look like a button and act like an a href ?
I tried the above but it does not look like a button.
What does class="button" do?
Thanks
If this is the wrong NG pleas... more >>
Is there a person who is managing this newsgroup?
Posted by Greg P. at 3/29/2007 12:40:02 PM
If so please address the topic I posted a few days ago with the title:
ItemStyle.Width doens't adjust the size of a column?... more >>
asp:DropDownList Control Issue
Posted by GuyInTn at 3/28/2007 9:41:30 AM
Hello all,
I have an asp:dropdownlist that is dynamically filled with a query.
This part is working. The problem I have is when I change the item in
the dropdown list and submit my form, the value for the dropdown list
never changes. It always inserts the value of the first item in the
list.
... more >>
problem with clicking on already selected node in TreeView
Posted by Nadav Popplewell at 3/28/2007 12:10:00 AM
Hi Everybody,
I've got a problem with handling the postback when clicking on already
selected node in treeview:
If you click on a non selected tree node then the SelectedNodeChanged is
called,
but if you click on the selected tree node then a postback is generated but
no event is called.
... more >>
Menu control a step behind on Selected Item
Posted by Leslie at 3/27/2007 6:10:08 PM
When processing a page load during a postback the menu control never shows
the menu item that was just clicked when referencing SelectedItem. Instead it
is always one step behind.
On the other hand when using the TreeView control and referencing
SelectedNode the TreeView control is always ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ItemStyle.Width doens't adjust the size of a column?
Posted by Greg P. at 3/27/2007 5:52:27 PM
I've been looking at this for a while trying to figure out how to change the
column size of a GridView. From my understanding I should be able to set
this property in design time by editing the columns and setting the
itemStyle.width property. When I do this I do not see any changes? The on... more >>
SqlDataSource: Changing SelectCommand property before processed
Posted by Martin at 3/27/2007 5:01:50 PM
Hi,
I am implementing an SQL repository component. That mean that I want to
overload standard SqlDataSource component and add new property (commandName).
After that, I would like to update the SelectCommand and SelectParameters
properties just before the select is processed (ie. I look into... more >>
GridView - Can't get textbox value in RowUpdating
Posted by Josh Schmidt at 3/27/2007 3:45:27 PM
Hey All,
I'm building shopping cart that stores selected items in a cookie. I have a
class that handles converting the cookie to a datatable and binding it to a
GridView. I've added a CommandField to handle removing items, and that all
works great. Now I want to add an EditTemplate to ed... more >>
Sitemap, Menu control - formatting
Posted by Trey Shaffer at 3/27/2007 9:42:55 AM
I'm new to ASP.net, and struggling with the sitemap and menu control.
I guess my general question might be, "Where can I find a discussion of the
format options for the control and the syntax of the sitemap?"
I am working with a Que book on Expression Web, and a variety of online
resources... more >>
How to handle browser back button with Ajax
Posted by verci at 3/26/2007 10:38:12 PM
Hi guys,
I'm running VS2005, AP.net 2.0, Windows XP SP2
Ok this maybe a dumb question but here it goes, as a newbie I've just
finished my first AJAX enable page, everything works great but, until I
press the back and forward buttons in my browser then the AJAX magic is lost
alongside wit... more >>
Why click won't fire?
Posted by Dave E at 3/23/2007 10:42:15 AM
Hello,
I am having a rather annoying problem. I have written a program that
downloads a web page, fills in some fields then clicks a button to submit the
form. On some systems this works just great, on others the click event never
fires. I can get the form, fill it out, but when click is... more >>
Navigation Problem
Posted by Archana at 3/23/2007 10:23:48 AM
Hey,
All,i know this newsgroup is for Wb controls.but Avoid this,
Actually i want to say this we people are creating a site and we want to add some functionlaity in some pages..
Means if User Surf One page and moves to naother page,,then The user Must not be able to move back(not able to see pr... more >>
Treeview causing system restart
Posted by tssrujana NO[at]SPAM gmail.com at 3/23/2007 2:51:22 AM
We are using the asp.net Treeview control whose datasource is an xml
file.
When the page containing the treeview loads,tyhe stored procedure
which generates the xml datasource for the tree
takes 3 sec's to execute.The tree populates properly on local servers.
On The main server however,a memory... more >>
Webcontrol calling JavaScript Function
Posted by Larry at 3/22/2007 2:51:32 PM
Anyone have an example of a webuser control with a checkbox that passes
information to a JavaScript function on the same page?
thanks
*** Sent via Developersdex http://www.developersdex.com ***... more >>
ASP.NET 2.0 Wizard Control
Posted by NKaufman at 3/22/2007 12:07:56 PM
Hello,
I have a requirement to use the wizard control in one of my projects.
I need to create 2 templates in each of which I will have a gridview
control. I need to create a wizard at runtime. At the first step, I
need to attach template#1 so that the gridview is displayed. Then on
hitting ... more >>
really dumb question!!
Posted by Rod at 3/21/2007 2:24:45 PM
I have a server side button that when clicked does stuff then if that stuff
has worked out OK I want it to load another page.
Somehow I can't figure out how to look this up.
Sub myButton_Click
do stuff
if stuff_OK then
Load new page somehow????
endif
end sub
... more >>
Use textbox to filter a DropDownList
Posted by Rob at 3/20/2007 6:58:20 AM
Hi,
I'm trying to duplicate a page from Classic ASP to ASP.Net 1.1.
In Classic ASP, I have a <select> box populated by a recordset that
holds a list of parts and I have a textbox and when I enter a part
number in this text box...I have a javascript onchange event that calls
a javascript functi... more >>
WebBrowser question
Posted by WT at 3/20/2007 12:35:14 AM
Hello,
The url I use for webbrowser has a button thta closes the browser.
How to catch this event ? WebBrowser is notr closing but stay inactive after
closing.
Is it possible to have something like window.showModalDialog(url)?
CS
... more >>
how can i open a new explorer from an aspx page
Posted by Horacio Grischinsky at 3/19/2007 5:01:36 PM
I need to open a new explorer from a page .aspx with c# as a lenguage.
I dont find how to do
... more >>
Dynamically access the table cell control's
Posted by sivagururaja NO[at]SPAM gmail.com at 3/19/2007 5:10:35 AM
Hi All!
There is one doubt in ASP.NET.
There is one suituation to create a table dynamically and add the
values based on the selection made in the previous page.
And also create some check box dynamically for corresponding values.
For ex.,
If A is selected then create 2 checkboxes and
... more >>
Button that just calls a sub (and does NOT submit the form)
Posted by paul.richards NO[at]SPAM shropshirefire.gov.uk at 3/19/2007 4:18:46 AM
Hi,
I want a button that just calls a subroutine (rather than submitting a
form). So, I have done this:
<asp:Button id="btNewNetworkProvider" text="New"
commandname="newprovider" onclick="newprovider" runat="server"/>
and:
Sub newprovider(sender As Object, e As EventArgs)
...
En... more >>
Please... I need to acces to a textbox in a FormView
Posted by Marcos Galaviz at 3/16/2007 12:32:31 PM
Hi i want to asign a value to the Text property in a textbox inside a
FormView when i am adding a new record ¿how can i do that? i want to use a
ComboBox to select a value and this value goes to the textbox ¿any
suggestions?
Thanks...
... more >>
Changing the color of cell on mouse over event in calendar control
Posted by Garg at 3/15/2007 11:32:13 PM
Hi,
I want to make the color of a cell change in my calendar control,
whenever mouse is brought over that particular cell. How can I achieve
this functionality??
Thanks,
Shivani
... more >>
Using a custom character as the bullet in a BulletedList
Posted by Nathan Sokalski at 3/15/2007 3:36:24 PM
I am creating a BulletedList and would like to use a - as the bullet.
However, I could not find a way to do this using the properties for the
BulletedList control. Is there a way to use a specific character for the
bullet without manually adding it to each ListItem? Thanks.
--
Nathan Sokals... more >>
Adding namespaces to webcontrols
Posted by daokfella at 3/15/2007 1:58:04 PM
How do I put my webcontrols into specific namespaces? I'm a little
confused now with the partial classes and the .ascx.designer.vb file.
In 2003, I would just add the NameSpace declaration in my code-behind
page. Is this how it's done in 2005, but to both the designer and
partial class? Is not t... more >>
control object is in a read only state
Posted by Duke at 3/15/2007 5:40:43 AM
I have an ASP.Net 2 page with a Report Viewer control (sp1) that displays a
local report. The report uses the results from a SQL Server 2005 stored
procedure. It was running fine but given that ASP.Net supports asynchronous
processing I thought I'd make the stored procedure call asynchronous, ... more >>
CustomValidator not working with FormView?
Posted by darkmage1975 at 3/15/2007 4:47:46 AM
Hi to all!
I've got this problem, I'm thinking on it for about 2 days, searching
info on the web ... but nothing.
Here's the problem: I've got a long FormView control that works fine. I
added a lot of RequiredFieldValidator on a lot of fields and all works
fine: when I click the FormView "I... more >>
FileUpLoad Control - Retrieving full pathname
Posted by marathoner at 3/14/2007 11:37:01 AM
When I use the FileUpLoadControl to select a file, I can only retrieve the
filename that was selected. I want to know how to retrieve the full
pathname of the filename selected.
Marathoner
... more >>
Inheriting from GridView
Posted by Greg at 3/14/2007 11:26:00 AM
I'm building a custom web control that inherits from asp.net GridView
control. I'm expecting that when the control is inserted into a page its
design time behavior is the same as GridView but it is not. Here is what I
mean:
<Custom:CustomGridView ID="gv" runat="server">
<Colum... more >>
Profile - what is wrong ?
Posted by goldie11 at 3/14/2007 8:12:53 AM
Hi,
I would like to use the profile - so I added the following code to the
web.config file:
<profile automaticSaveEnabled="true">
<properties>
<add name="ReplyAddress"/>
<add name="ReplyName"/>
<add name="ccName"/>
</properties>
</profile>
... more >>
Using Javascript and Validation controls
Posted by Peter Afonin at 3/13/2007 11:29:52 PM
Hello,
I'm creating an application in ASP.NET 1.1. I need to check whether at least
one checkbox in my datagrid has been checked. To do this, I'm using
Javascript - I'm adding this code to Page_Load event:
Dim iCount As Int32
Dim sClientSideValidate As New StringBuilder
iCount = dgReport... more >>
menu control browser compatiblity
Posted by Chuck P at 3/13/2007 6:31:13 PM
We average 4% Safari intranet and 24% internet (student related site).
The ASP.NET 2.0 Menu Control is not working properly under Mac OS on Safari
2.0.2 browsers. Did some searching and didn't come up with anything easy to
fix it. Tried messing with the browser caps and browser definition f... more >>
Transform data in GridView control
Posted by VancouverMike at 3/13/2007 5:11:05 PM
Hi,
I am using Visula Studio 2005, C# and ASP.NET 2.0 with SQL Server 2005. I am
using GridView control(databound to dataset) to display data from database. I
have a smalldatetime type of field in database, and I would like to display
this field in two columns in GridView control, one for M... more >>
Custom TextBox with validating
Posted by Madison at 3/13/2007 9:45:21 AM
Hello,
I’m working with large web application project. The application will have a
lot of data entry and need to validate before saving to database. I think if
I build custom textbox for each data type such as integer, currency, email,
phone number, date, and so on with validation. It wi... more >>
Make a server side but put up a Confirm MsgBox
Posted by Rod at 3/12/2007 3:40:47 PM
I have a server side button that deletes something. I want to put up a
Confirm MsgBox that says "Do you really want to delete this?"
I know how to make a client side button put up this message but I can't see
how to get a server side button to do it.
Many thanks in advance
Rod
... more >>
Custom controls to emit compiler warning/error?
Posted by olduncleamos at 3/10/2007 10:30:27 AM
Hi all,
Just wondering if it is possible for a custom control to emit compiler
warning or even error? It would be great to flag the user at compile
time if they made some inconsistent property settings.
Thanks in advance.
... more >>
colon or dollar
Posted by SP at 3/9/2007 5:01:46 PM
I recently upgraded one of my ASPNET project from .NET Framework 1.1 to .NET
Framework 2.0
I have the following code overriding the CreateChildControls() method
Panel panel = new Panel();
panel.CssClass = "Panel1CSSClass";
Controls.Add(panel);
... more >>
loding dynamic user control giving error
Posted by aammi NO[at]SPAM yahoo.com at 3/9/2007 3:38:21 PM
I am tired of this error and now writing a post.
My Web application has two pages.
Page one has drop down list which redirect the page to another page . where I am going to load the usercontrol dynamically according to the choice of the user.
protected void ddlViewReport_SelectedI... more >>
Repeater, RadioButton, GroupName doesn't work
Posted by David Thielen at 3/9/2007 3:19:00 PM
Hi;
Inside a Repeater I have a RadioButton with the same GroupName for each row
in the Repeater. But when I click on a button, it does not turn off the other
radio button previously selected.
Any ideas how to fix this?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardre... more >>
Custom Validator Event Executes but does stop or disaplay error
Posted by NRao at 3/9/2007 8:02:08 AM
Hello,
I am using a custom validator control and wanted to validate server side and
do not have client side validation function. The server side event executes
but does not stop the page or does not display the error.
<asp:CustomValidator id="custWDEndDate" runat="server"
ControlToValid... more >>
TreeListView
Posted by Davey P at 3/8/2007 2:04:07 AM
In ASP.NET 2.0, is there any way to create a TreeListView type control (i.e.
a multicolumn TreeView that can be databound). I've searched all over the net
and can't seem to find a definitive answer. Many thanks.... more >>
how to make message appear after record is inserted?
Posted by Jan at 3/7/2007 9:21:59 PM
Hello,
Just after the new record is inserted in the database using a Detailsview
control, i would like to display a short message "the record is inserted".
In the aspx file, i defined a hiddenfiekd:
<asp:HiddenField ID="HiddenField1" runat="server" Visible="false" />
In the code-behind:
... more >>
good CAPTCHA control?
Posted by David Thielen at 3/7/2007 8:55:08 PM
Hi;
Anyone have a suggestion for a good CAPTCHA control? A CAPTCHA control is a
control that creates a set of numbers/letters in a messy graphic that a human
can read and then enter but a computer cannot - to stop spam.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardrepo... more >>
Menu items and Roles
Posted by Chuck P at 3/7/2007 3:15:05 PM
I have menu items in a Master Page defined like this.
<asp:Menu ID="Menu1" runat="server" SkinID="Horizontal">
<Items>
<asp:MenuItem Text="Surveys To Do" Value="Surveys To Do"
NavigateUrl="~/Default.aspx"></asp:MenuItem>
Can I disable a menu ... more >>
Menu item dynamic text
Posted by Chuck P at 3/7/2007 3:14:08 PM
Is it possible to put the Current.User.Identity Name in the menu?
Something like this.
<asp:MenuItem NavigateUrl="http://hrauth.lanl.gov/logout.aspx" Text="Log Out
<% =HttpContext.Current.User.Identity.Name %> " Value="Log Out">
</asp:MenuItem>... more >>
Derived BulletedList
Posted by J055 at 3/7/2007 3:01:46 PM
Hi
I want to make a simple modification to the BulletedList control. I would
like the control to render with a DIV element wrapped around it, e.g.
<div id="MessagesList1" class="messages">
<ul>
<li>Item 1</li>
</ul>
</div>
The control including the div should only render if the Bullet... more >>
Stop dropdownlist validating on selection change
Posted by Gav at 3/7/2007 2:38:02 AM
Hi all,
I have a simple form with several textboxes, a dropdownlist and a submit
button. Most of these have required field validators and when I click the
submit button gives a warning if left blank.
It appears that whenever the dropdownlist is changed it is being validated,
can I stop t... more >>
|