Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net webcontrols > march 2005 > threads for march 1 - 7, 2005

Filter by week: 1 2 3 4 5

web treeview ispostback check
Posted by augustx at 3/7/2005 4:29:26 PM
I have a web treeview control that is being loaded in the page_load through code and it adds additional nodes when the tree is expanded using the expand event. Once I click on the plus sign, the tree loads again inspite of the if (!IsPostBack) statement. What can I do to force it to lo...more >>


Regular Expression Validator
Posted by Nick at 3/7/2005 3:32:42 PM
I'm very new to asp.net so forgive if this is a simple question. I have created web page for my site so people can log their e-mail address for a news letter. I add a regularexpressionvalidator control to validate the e-mail address structure. The validator works fine and displays my message ...more >>

VB.Net Handles keyword for event handler goes away, dissapears
Posted by thomas at 3/7/2005 1:08:19 PM
annoyingly, every so often after a compile, my code will cease to work because the Handles keyword gets removed from the end of the method. ex: Private Sub buttonMakeTransfer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttonMakeTransfer.Click .... might become Pri...more >>

Error creating controle crystalreportviewer
Posted by Esio Nunes at 3/7/2005 9:25:55 AM
Hi. When I drop a CrystalReportViewer to a ASP.NET web form, I receive the "Error Creating Control" at control, and ShowAllPageIds propertie is set to "Object reference not set to an instance of an object". I have Visual Studio 2003 and CrystalReports 9 instaled. I alredy uninstall these and...more >>

DataGrid control in WhidBey
Posted by Sundararajan at 3/7/2005 1:07:02 AM
Dear Folks, I want to know about the Changes that are being effected on the data grid control in whidbey. please let me know ASAP. Regards, -- S.Sundararajan...more >>

browse for folder dialog in ASP
Posted by John Jebastin at 3/6/2005 10:05:48 PM
Hi, I am looking forward for ur help. How to implement the browse for folder dialog in ASP pages to select the folder location. It's urgent. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Custom server Controls- client side scripts
Posted by Sundararajan at 3/6/2005 9:09:04 PM
Hi all, Basically I am developing a custom control. on click of one of the controls in my composite control a client side event should happen. Is it really possible and if so how can i make it happen. Thanx in advance Regards, -- S.Sundararajan...more >>

How can I remove duplicates from an ArrayList?
Posted by Chuck Insight at 3/6/2005 10:33:07 AM



Need OnClick ServerSide and ClientSide Event Handler
Posted by PK9 at 3/6/2005 10:27:02 AM
I have a button at the top of my page that I have an onClick event handler for which makes some new controls (at the bottom of my page) visible. When the user clicks the button I make the new controls visible in the onclick server side event handler, but I do not know how to bring the focus t...more >>

Repeater Control Question
Posted by Roshawn at 3/5/2005 8:55:35 PM
Hi, I have a Repeater control that contains a few web controls. It looks like this: <asp:Repeater id="Repeater1" runat="server"> <ItemTemplate><asp:HyperLink id="HyperLink1" runat="Server" navigateurl="<%# Container.DataItem("address") %>" text="<%# Container.DataItem("Name") %> /></I...more >>

ListBox SelectedIndex is always -1
Posted by b_gul_t at 3/5/2005 7:57:03 AM
Hi, I have a simple web page containing a listbox, a button and a label. I load the listbox items in codebehind such as this: Page_load { if (!page.ispostback) { filllistbox() } } When a list item is selected and the button is pressed, I want to display the selected item i...more >>

Connecting to database from class
Posted by RedRed at 3/5/2005 6:40:38 AM
Hi all, How to write the code to connect to database from the class .vb instead from the aspx page .aspx. Thanks...more >>

dynamic connection string?
Posted by kb at 3/4/2005 9:23:29 PM
ASP.NET C# how can i set this up: i have a login page if i login as clientA then i want to use clientA database if i login as clientB then i want to use clientB database both databases are on the same sql server, iam thinking could i have a = dynamic connection sting in the web.config ...more >>

how to get values fron stored procedure
Posted by Yoshitha at 3/4/2005 2:39:26 PM
hi all i created a stored procedure like this which retruns values am not sure whether it is correct or not. if it is wrong can you tell me where i did mistake. CREATE PROCEDURE QA_Select_Candidate @role sql_variant AS declare @fname varchar(50) , @lname varchar(50) , @email varcha...more >>

Update control button
Posted by Rudy at 3/4/2005 11:55:03 AM
Hello All! Working on a data grid, with the edit button. Having problems with the update button. I know my connection is being made, but I have tried so many diffrent things, and I keep getting diffrent errors. I'm hoping sombody can look at my code and tell what I'm doing wrong. Public ...more >>

binding tables with relationes to 2 dropdownlist
Posted by b-gumble NO[at]SPAM gmx.net at 3/4/2005 3:05:30 AM
Hi, I'm trying to get a kind of dependency to 2 dropdownlists in asp.net: |Dropdown Vendor| -> 1:n -> |Dropdown Order| After selecting a Vendor the 2nd Dropdownbox should only show Orders linked to the selected Vendor. ( Both Dropdowns do autopostback ) But it always shows all values ... ...more >>

datagrid
Posted by Yoshitha at 3/3/2005 6:28:38 PM
Hi I want to display 2 tables data within a single datagrid. In table1 i've 4 fields FirstName LastName Emailid primary key Usertype In table2 i've 2 fields Emailid foreignkey CompanyName in datagrid i've to display all fields except usertype but i've to retrieve data based on the ...more >>

HtmlInputFile Probblem
Posted by Wayne Wengert at 3/3/2005 5:54:09 PM
I want to restrict the file types that the user can select to "*.jpg". From what I read in MSDN there is a property (accept="image/*") that should allow only image type files and then my code would need to check for the jpg type. When I try to add (accept="image/*") to the <input type="file"...> ...more >>

Create ASP.Net Page Programatically
Posted by Mythran at 3/3/2005 4:42:14 PM
I have 2 projects, a Web project and a Class Library project. In the class project, I have a class called Class1. Pseudo below: Class Class1 ... Public Static Sub Generate() If True ' Create Page and display to user. End If End Sub End Class ...more >>

viewstate=false doesn't work
Posted by Trapulo at 3/3/2005 1:21:19 PM
I've a datagrid and I try to disable viewstate to avoid a lot of hidden data in the post field (about 100kb). But this doesn't work! <asp:DataGrid id="dgExhibitionServices" runat="server" Width="520px" Height="17px" AutoGenerateColumns="False" EnableViewState="False" > If this is false...more >>

RegisterClientScriptBlock does not work from a server control
Posted by Cameron Eckman at 3/3/2005 10:33:03 AM
For some reason I cannot get RegisterClientScriptBlock to render a script reference on the page from a server control. Yes, I have not placed the code in the Render method, I also tried the OnInit just in case. Below is the a simple version of the code, any help is appreciated: namespace ...more >>

DataGrid Migration
Posted by Johnpc at 3/3/2005 9:05:02 AM
Hi, I really need to copy the a Datagrid from one VS solution into another. but I keep coming up with errors when I try. Some one must know a basic set of steps that will allow me to copy the files from one solution to another by hand. Please help ...more >>

Loading & changing image inside control
Posted by dbui at 3/3/2005 8:56:21 AM
Hi, I got a simple ascx. It has one image component. When first loaded, it scans thru \images folder, loads the first image, and save the index & the string array of picture names in session. When user click on the Next button, it will increase the index by one and reload the image accordin...more >>

Wrapping Text in Tree View Control in ASP.Net
Posted by Himanshu at 3/3/2005 3:09:04 AM
Can anybody please help me in getting the node text wrapped if the length is longer then the tree view width.Currently it shows the scroll bar which i dont require....more >>

viewstate for a File Input Control
Posted by Robin at 3/2/2005 5:57:31 PM
On an ASP.Net page that has viewstate enabled. How do you enable viewstate for a server side file input control? Currently I have in the HTML view. <INPUT id="myID" type="file" name="myID" runat="server"> ...more >>

__doPostBack and NULL __EVENTTARGET?
Posted by Serg at 3/2/2005 5:13:03 PM
Please help out. <asp:LinkButton> control emits <a> tag with an href that looks something like below. I am not using server-control, and I am emitting <a> tag in Render() method, and I get an error when I try to set __EVENTTARGET with my control UniqueId. Is there a way I could mimic the way ...more >>

What is the WEB equivalant for Console.WriteLine()
Posted by Chuck Insight at 3/2/2005 11:14:22 AM

Line breaks in the Text of an <asp:button> control??
Posted by Kelly at 3/2/2005 10:15:41 AM
Hi all - I'm stuck on something fairly simple (I think) and was hoping someone here could help me. I'm trying to write some text onto a few command buttons in my asp web forms. The problem is, the text on my buttons is getting cut short and the only way to show the entire text is to set the...more >>

User control Problem
Posted by GMK at 3/2/2005 9:43:47 AM
Dear all i'm facing a problem with the user controls i would like to ask if anybody could help me in knowing how to handle the values of a user control from outside the control. e.g. i have a drop down list, this drop down list is a user control and it is filled according to a qurey built in t...more >>

retrieving DIV.innerHtml
Posted by Peter Wone at 3/2/2005 1:18:23 AM
I created a WebUserControl that renders <DIV CONTENTEDITABLE ID="whatever"></DIV> to offer HTML editing in a web page. On postback I don't get the content of the DIV. This is unsurprising; it's not an INPUT control. When I doing this in classic ASP I used to hook the form's onsubmit event w...more >>

OWC Chart, spreadsheet and Repeater
Posted by Richard Luckwell at 3/2/2005 1:09:04 AM
I am using asp.net, vb and codebehind with a repeater containing an OWC spreadsheet and chart in the itemtemplate. What I want is when a user clicks a button, data is loaded into each repeater items spreadsheet and some formating is done. Then the spreadsheet and chart are made visible. ...more >>

Are Webcontrols for doing this?
Posted by Karl at 3/1/2005 7:47:55 PM
Before I spend a lot of time researching how to design webcontrols, I want to know if what I want to do is what webcontrols are designed to doing. Will webcontrols allow me to design a clickable button in the shape of a stop sign in such a way that any modern browser when loading the web page ...more >>

Populating a Calendar from a Database
Posted by jmhmaine at 3/1/2005 3:17:05 PM
I have a table SQL Server View that contains information, including dates that I want to represent in a Calendar. specifically, for each row in the view, I want to create a Note for that event in the Calendar. Since there isn't a databind option so I realize I need to use the _DayRender event....more >>

creating drop down list at run time
Posted by Yoshitha at 3/1/2005 11:02:03 AM
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will select any skill in 1st drop down list then i'll select % of this skill in the 2nd list box , based ...more >>

regular expressions
Posted by Yoshitha at 3/1/2005 10:15:16 AM
Hi In my application there is one textbox and for this textbox i've placed regular expression validator. so it hat to accept characters , numbers , dots(.) and # symbols can anybody tell me how to write regular expression for this. thanx in advance yoshitha. ...more >>

application not working
Posted by Yoshitha at 3/1/2005 9:55:08 AM
Hi, My asp.net application is working fine in my system. when i'm executing the same application in server am not getting the controls in my webform. for e.g. in default page i've placed dropdownlist box and text boxes and command buttons. in server sytem when i run my application , the items i...more >>


DevelopmentNow Blog