all groups > asp.net > march 2005 > threads for sunday march 6
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
HtmlSelect and PostBack?
Posted by xenophon at 3/6/2005 10:48:30 PM
I created an HtmlSelect in my ASP.NET page template (setting
runat="server" in its tag), double-clicked it in the Designer, and
Visual Studio automagically made the declaration and Event Wireup and
associated method.
However, I use JavaScript on the client to populate the list and a
LinkBut... more >>
Using an XML file as a data source to <asp: controls
Posted by AnandaSim at 3/6/2005 10:28:01 PM
Hi All,
I'd like to use a static XML file as a source of data to any of the
<asp: list controls.
I have produced the .xml file, inferred a schema - .xsd, generated a
dataset .vb. How do I complete the process and use the dataset in a
vb.net asp.net file? I've been having a peek at the code ... more >>
Write XML with formating
Posted by David at 3/6/2005 9:08:29 PM
Hi,
My asp.net application is writing a few xml files based on certain criteria.
the application works like this.
1. read an xml template using LoadXML.
2. manipulate the xml and add certain values
3. write the xml out to a file.
now i am achieveing this no problem, however when i write th... more >>
Assign value to textbox via Java script in VB
Posted by Sergei at 3/6/2005 7:34:57 PM
Hi,
I am displaying modal dialog and passing values from the main form to the
modal dialog and back.
It works fine but if I used the following syntax on Page_Load(just for
testing) in VB to assign value form the object to text Box it gives error
'Object required'
Dim strResponse As String... more >>
Apostrophe in SQL Syntax
Posted by Brian at 3/6/2005 6:11:02 PM
Thanks for your time.
I've built an asp.net/vb.net CMS(Content Management System) application. I
have several different UI's that provide the user the ability to maintain
site content that is stored in a MySQL db. Currently I'm using ado.net to
connect to the MySQL db.
I'm having diffi... more >>
Saving state after moving to another page.
Posted by rmunson8 at 3/6/2005 4:53:02 PM
What is the recommended approach for the following scenario?
I have a page that has a button that when clicked transfers to a new page
where the user selects an item from a list. Once that item is selected, I'd
like to transfer back to the original page, BUT I need that page with the
same ... more >>
Buttons not posting back
Posted by Murali Krishna. Siruvuru at 3/6/2005 4:27:02 PM
Hi,
All of a sudden, all my Button Controls and Image Button Controls are not
posting back data. I have Click event and event handlers in the code. Page
itself is not posting back.
Whereas Linkbuttons are working fine.
--
IT Expert, R&D Department,
Hanwha S&C, Seoul... more >>
dropdownlist
Posted by RSusanto at 3/6/2005 3:55:14 PM
anybody know how to assign a value from the pupulated dropdownlist from
other table value.
the dropdownlist already populated from table.
thank you
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
how to use cs files?
Posted by Dan at 3/6/2005 3:27:04 PM
I know this is tupid but coming from a c++ background to asp.net in c# has
been a real awakening.
I have made my class and placed it in a .cs file but i do not know how i am
supposed to get my aspx pages to use that class when they run?
Could someone please help me in explaining how i prog... more >>
Displaying Date & Time Question
Posted by Patrick Olurotimi Ige at 3/6/2005 3:22:14 PM
3/4/2005 5:50:08 PM
Normally i display the above time and Date above from Database by using
:-
<%= DateTime.Parse(dr["dt"].ToString()).ToShortDateString() %><br/>
<%= DateTime.Parse(dr["dt"].ToString()).ToShortTimeString() %>
Any ideas how to display them together without having to sepera... more >>
ConfigurationSettings
Posted by Matthias Knöchlein at 3/6/2005 3:19:58 PM
Hi !!
How can I access ConfigurationSettings in a server control ?
thanxs
... more >>
HttpHandler question :: Retrieve the Request Page URL?
Posted by David Bowey at 3/6/2005 3:15:56 PM
Hi There!
I'm writing a custom HttpHandler to create watermarks on my PNG images of my
website. So typically, a PNG image is linked in an ASPX page as follows...
<img src="images/test.png" alt="testing" />
So I created an HttpHanlder to handle PNG images, have mapped the PNG
extension i... more >>
Calculating a Subtotal for Shopping Cart
Posted by Sparky Arbuckle at 3/6/2005 2:19:07 PM
I'm trying to calculate the subtotal for each item the customer has in
the shopping cart. objDataReader("decPrice") is the price from my
database field called decPrice. The .8 is for a 20% discount. The
error I get is:
Compiler Error Message: BC30201: Expression expected.
What is the corre... more >>
SQL Timeout
Posted by jimnpd at 3/6/2005 2:05:03 PM
I keep getting the following error when I try to run a sql statement against
a huge amount of data. I develop in dreamweaver mx
System.Data.SqlClient.SqlException: Timeout expired. The timeout period
elapsed prior to completion of the operation or the server is not
responding.
at System.Dat... more >>
Button focus
Posted by barry at 3/6/2005 2:02:42 PM
I was wondering why on a webform when I put the cursor into a textbox the
focus goes to the only button on the form.
thanks
... more >>
Page_Load question
Posted by Andrea Williams at 3/6/2005 1:03:37 PM
When I step through my code, the code in the OnInit function is executed
twice. Is that normal?
Andrea
... more >>
DataRelation Collection Problem and Repeater
Posted by I am Sam at 3/6/2005 12:39:04 PM
Hi everyone,
This problem is making me old. I don't want to get any older.
I have a multi-nested repeater control as follows:
<asp:Repeater ID="clubRep1" Runat="server">
<HeaderTemplate><table>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td></td>
... more >>
DataBinder
Posted by at 3/6/2005 10:44:46 AM
Hello,
I create in datagrid <ItemTemplate><%#DataBinder.Eval(Container.DataItem,
"ID_0061_PREDECESSOR")%></ItemTemplate>. This is written in HTML code. But
now is shown Guid 0000-00000-0000.... in datagrid. But I need create in
ItemTemplate "IF" construction like this:
If DataBinder.Eval(Con... more >>
How can I compress a file in .NET?
Posted by ad at 3/6/2005 10:23:58 AM
I used a dataset to produce a xml file.
I want to upload the xml file to server by web service.
The xml file is to big(about 4M).
How can I compress a file in .NET?
... more >>
How to compress file before upload
Posted by ad at 3/6/2005 10:22:16 AM
I used a dataset to produce a xml file.
I want to upload the xml file to server by web service.
The xml file is to big(about 4M).
How can I compress a file in .NET?
... more >>
Adding JavaScript to focus on a section of the page after btn oncl
Posted by PK9 at 3/6/2005 9:47: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
event handler, but I do not know how to bring the focus to the bottom... more >>
Strange Behaviour
Posted by Wayne Wengert at 3/6/2005 8:39:35 AM
I have a set of aspx pages created using VSNET 2003/VB. The web site
includes a java based menu. For a specific selection I need to change the
value of a variable in a common class. I set the menu app to call a special
aspx page whose only purpose is to set the class variable and then transfer
t... more >>
Session Question
Posted by Pete via DotNetMonster.com at 3/6/2005 8:29:57 AM
Hi,
I'm trying to use a Session variable to pass info from one page to another
but it doesn't seem to go to the next page. I tested a very basic script:
Page1
-----
<%@ Page Language="VB" %>
<script runat="server">
Sub page_load()
Session("name") = "James"
End Sub
... more >>
ZoneAlarm
Posted by Jon at 3/6/2005 8:19:06 AM
After doing a build/rebuild, I can't run my Web apps. The browser waits for
me to shut down Zone Alarm. Other applications don't respond until I do.
aspnet, vs, and the compilers have internet access, and vs and aspnet have
server permission. Somebody out there using Zone Alarm and know how to... more >>
web projects won't open
Posted by PeterW at 3/6/2005 8:15:02 AM
I find in the last 3/4 days that I can't open web applications using VS.net
1.1 for enterprise architiect.
The project I am currently working on just refuses to open and hangs. I try
using IIS to browse the asmx file and that also hangs. I try to see the
files using Windows Explorer via ... more >>
integrated Secure with Sql Server
Posted by ad at 3/6/2005 6:24:43 AM
I want to set integrated Secure in my connect string to SQL Server
I set the connect string as:
workstation id=xxx;packet size=4096;integrated security=SSPI;initial
catalog=vvv;persist security info=False
and I have execute sp_grantlogin 'ServerName\ASPNET' in Sql Query Analyzer
But wh... more >>
Connection to database
Posted by RedRed at 3/6/2005 4:39:28 AM
Hi all,
Hi to connect to database if I want to write the code in
the class instead in the html (.aspx). What I want to do
is to create a reusable class which allow the other page
to connect using one class.
Thanks all... more >>
wma / drm / music download theory help!
Posted by dhnriverside at 3/6/2005 4:11:03 AM
Hi peeps
Just after a bit of theory and pointers really.
I need to develop a music downloading system, with digital rights management
etc (so users cant copy tracks). The majority of systems seem to use Windows
Media and WMA files to acheive the security side, but I have no idea how to
i... more >>
Values from Reader
Posted by Joe via DotNetMonster.com at 3/6/2005 3:56:21 AM
Hi,
I'm trying to get the values from the reader to display in form fields and
it works when I have a varchar value but not when I have an int. I'm doing
the following:
reader.Read()
MediaName.Text = reader.GetString(0)
PageText.Text = reader.GetString(1)
... more >>
drawing a line or rule programmatically in a web form
Posted by yer darn tootin at 3/6/2005 2:00:26 AM
I have a page which displays a table that's being created in the code
behind, where the size of the table dependes on the amount of data
being returned ( eg it could contain one, three or fifty 'apples',
depending ).
All is fine there but I want to draw a dividing line between each
'apple' as ... more >>
|