all groups > asp.net webcontrols > november 2005 > threads for november 15 - 21, 2005
Filter by week: 1 2 3 4 5
Microsoft Spreadsheet Control?
Posted by TCook at 11/21/2005 9:08:30 PM
Hello All,
I am building a Windows application and I am considering using the Microsoft
Spreadsheet Control. The application will be written in C#.
The above said, I was wondering if users will need MS Excel installed on
their machines in order for the control to work?
I have included ... more >>
Single Logon
Posted by Thom Little at 11/21/2005 5:19:04 PM
The following will download every file in a remote directory ...
public void DownloadDirectory(string strAddress, string strUsername,
string strPassword )
{
FtpWebRequest req = (FtpWebRequest)WebRequest.Create(c_strFtp +
strAddress );
req.Credentials = new NetworkCredential(st... more >>
GridView EnableSortingAndPagingCallbacks
Posted by swesorick NO[at]SPAM gmail.com at 11/21/2005 12:02:09 PM
I'm trying to figure out the Sorting and PagingCallbacks in the asp.Net
2.0 GridView Control. Whenever I set EnableSortingAndPagingCallbacks
to true, I cannot get sorting to work. Paging works, but not sorting.
>From viewing the trace log, I can see that the page fires each time you
click on a... more >>
Using DataList - table and headers
Posted by Mirek Endys at 11/21/2005 11:35:07 AM
Hello,
Im often use DataList for viewing and editing datas. For better layout
controling, I create a table in the template and there I put other controls
or binding data into table cells.
Sometimes, I would use the HeaderTemplate as header of my table (in
ItemTemplate).
How to do it? Ho... more >>
DataList control in DataListItem
Posted by Mirek Endys at 11/21/2005 11:15:49 AM
I need to know, how to bind data into DataList, that is placed in another
DataList in SelectedItemTemplate.
I tried to FindControl on ItemCreated event, on PageLoad event, but I cannot
get this control???
How to do this???
Thanks
Mirek
... more >>
.NET 2 Custom Control question
Posted by ME at 11/21/2005 10:49:45 AM
I am trying to write my first site using .NET 2. I need a control that will
list several links to pages in a table (a simple nav control). The table
must have about 3 Columns and about 4 rows (or more depending on the amount
of links needed). The table will need to be built dynamically, but... more >>
DataItem in DataListItem is null.
Posted by Mirek Endys at 11/21/2005 10:01:33 AM
Hello,
the problem I have now, is:
Im binding generic collection based on List<iDB2SQLTransferItem> //
iDB2SQLTransferItem is my class // into WebCOntrol DataList. But the
DataItem of the DataListCommandEventArgs is null. Here is my code:
private MyData.iDB2SQLTransfers transfers = null... more >>
Custom dropdownlist that displays a listbox
Posted by Peter S. at 11/21/2005 5:46:16 AM
This is driving me crazy, I am trying to build a custom dropdownlist that when
rendered also displays a listbox next to it. I am going to use the listbox as
a repository for items that are selected when accessing the dropdown. I did
override CreateControlCollection() and returned "new
Control... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to Address Other Controls' IDs?
Posted by Axel Dahmen at 11/21/2005 12:00:00 AM
Hi,
I've created a User Defined Control (.cs class) using JavaScript to address
another control. This only works when my UDC resides on the .aspx page
itself. If I add it to a Web User Control (.ascx), the target control's ID
attribute gets changed by ASP.NET and I can't address it anymore fro... more >>
What is the best control for this job?
Posted by Kyle A. Miller at 11/20/2005 9:07:15 PM
I understand the DataGrid is for editing a single record at a time, and
I haven't had luck pulling iterating through the Items pulling back the
values of controls in the grid. So, I am asking what is the best control
for the following? And how would you achieve the task with recommended
cont... more >>
Output the HTML contents of a dynamically created control
Posted by Oguzhan Filizlibay at 11/20/2005 12:00:00 AM
Hi all,
I am trying to dynamically generate an Email message. I have a
function that dynamically generates the table, rows and cells and the
text.
After I finish with that, I want to output the HTML contents of the
control to a string which in turn will be used in a send email
function as ... more >>
How to build dynamicaly a menu in ASP.Net 2.0 (VS 2005) ?
Posted by MarioSerrano at 11/17/2005 9:51:07 AM
I have a menu (new feature of framework 2.0) in an Web application. The thing
is, that i already have a function to create a dynamic menu. And it works...
but the issue is that it doesnt want to show at the page...
HTML code...
<asp:Menu ID="Menu1" runat="server" BackColor="#FFFBD6"
Dyna... more >>
Simple question ???
Posted by serge calderara at 11/17/2005 3:01:02 AM
Dear all,
I have build a simple Web user control which contains 2 labels named Lab1
and Lab2.
I defined property for that control to change the .Text property of both ogf
them.
Then I drag my user control on an empty form whcih contains only my created
user control.
Then I set the te... more >>
Playing a WAV file from a Web Page
Posted by Andrew Chalk at 11/16/2005 6:50:22 PM
Can anyone point me to some code that allows the user to play a WAV file by
clicking on a link.
Many thanks.
... more >>
Detailsview and stored Proc
Posted by TdarTdar at 11/16/2005 8:33:35 AM
Using the following example:
<asp:DetailsView ID="DetailsView1" runat="server"
DataSourceID="SqlDataSource1" Height="1px"
Width="100%">
<RowStyle Wrap="False" />
</asp:DetailsView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ Co... more >>
White spaces in DropDownList / Listbox / ...
Posted by Frederic H at 11/16/2005 5:20:25 AM
Hi all,
I want to add white spaces to format a DropDownList or another web control
but
when the control is rendered ASP.NET convert my " " to " "
Without using to format the string, I cannot create create a combo like
this
USER1 | Alan Smith |... more >>
How to insert a new record in detailsview when there are no record
Posted by Frits van Soldt at 11/16/2005 1:01:04 AM
In the detailsview you can add a 'new' button to add new records. This works
fine if there are already some records in the table. But when the table is
empty, the button is not shown, thus not allowing to create any records! How
can I show the button even if there are no records?... more >>
Accessing the values of textboxes/labels within a function
Posted by martinharvey via DotNetMonster.com at 11/15/2005 9:38:31 AM
This is probably a very simple thing i am missing but i would be grateful for
some help.
I have a vb class file that i am trying to compile into a dll. The class
contains a function that needs to reference the values of
a text box and a label. When i try to compile the dll ( with the vbc
co... more >>
Page_Error event issue
Posted by Sam Solomon at 11/15/2005 8:01:06 AM
Dear All,
I am catching a error in my Page_Error event and storing it in a session
variable. After the error is generated the page is redirected to another page
where I want to show complete error details in a label in the Page load event
of the directed page. But the problem is that my s... more >>
CreateUserWizard
Posted by Al at 11/15/2005 7:40:07 AM
I needed to add an additional TextBox control on the “Set Up for your new
account:†step of the CreateUserWizard control. So I selected “Customize
Create User Step†which created source for the create user step and I added
my TextBox. However, in the CreateUserWizzard event OnContinu... more >>
Treeview tweak
Posted by richie_hackett at 11/15/2005 2:55:43 AM
OK I have been tearing my hair out trying to get the Treeview
webcontrol to display a background image.
My current thinking is that mozilla allows you to render the treeview
as a table instead of using the htc. Any ideas how this can be done
for all requests? I have noticed that the Treevi... more >>
|