all groups > asp.net > february 2008 > threads for tuesday february 12
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
Bind controls to object
Posted by Chris Zopers at 2/12/2008 11:52:07 PM
Hello,
I have an aspx page with some controls like textboxes on it and a button
to save the entered values.
In the code-behind I declared a public variabele of an object, for
example:
public Person _prs = new Person();
Where Person is a class with some properties, like FirstName and
L... more >>
javascript to either enable or disable the dropdown
Posted by zlf at 2/12/2008 10:24:35 PM
I need a javascript to either enable or disable the dropdowns when the user
clicks on the checkbox and do NOT post back to the server.
I tried the following, but it does not work. How to correct it?
AssignToQueueCheckBox.Attributes["oncheckedchanged"] =
"document.getElementById('ctl00$ctl... more >>
Re: Session error
Posted by Lars at 2/12/2008 9:10:18 PM
Hi
I get the following error when I try to access the config page for my local
document. Does any one know why?
Unable to serialize the session state. In 'StateServer' and 'SQLServer'
mode, ASP.NET will serialize the session state objects, and as a result
non-serializable objects or Mars... more >>
VS 2008/IIS 7.0/Vista/Asp.Net Applications
Posted by Jimmy B at 2/12/2008 8:56:47 PM
Hello,
It seems to be very complex combination: VS 2008, IIS 7.0, Windows Vista and
ASP.NET Applications. Lots of troubles coming....
Are there any tutorials or blogs which would tell how this combination would
work in
a simple Workstation?
I have had so much problems deploying and run... more >>
Custom Format Strings for BoundField column
Posted by Adam Right at 2/12/2008 8:53:02 PM
in gridview how can i custom format a decimal value for BoundField column ?
i want to set
125.25000 ---> 125,25
5.20000 -->5,2
45.00000 --> 45
I am using DataFormatString="{0:#,#.##}" but it does not work ..
any idea ?
... more >>
RegisterStartupScript and Firefox
Posted by Dune88 at 2/12/2008 5:53:03 PM
I've got some code that uses Page.ClientScript.RegisterStartupScript to call
a javascript function from the Page_Load method in the code behind.
The code works fine in IE but the javascript function is not called at all
in Firefox. I stripped my code back to the basics and all I have now is a... more >>
Re. ASP.NET and MySQL
Posted by Lars at 2/12/2008 5:52:47 PM
Hi
DOes any one now how to connect a MySQL database to a .NET project. When I
create or open a database from within the IDE I oly get option to use
Microsofts databases and Oracle. MySQL is installed and is working, The
service for MySQL is also running.
Lars
... more >>
sending more parameter from imagebutton ....
Posted by Adam Right at 2/12/2008 5:40:48 PM
Hi All,
i am using CommandArgument of imagebutton in a Repeater for adding a item to
shopping basket, like that;
**************************
<asp:Repeater ID="Repeater1" runat="server"
OnItemCommand="Repeater1_ItemCommand">
<ItemTemplate>
<asp:ImageButton ID="addToBasket" runat ="server" ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Large Web Service ... How to Organize?
Posted by Spam Catcher at 2/12/2008 2:57:59 PM
Hi all,
I'm in the process of designing a large web service which will be a remote
API into our application. There web service will cover ~10 components and
will have >100 functions.
Does anyone have any links to some design patterns I can use?
Should I put all my functions into one ASM... more >>
Validators and IDs of other controls
Posted by Nathan Sokalski at 2/12/2008 2:54:04 PM
I have a validator control that I wrote by inheriting from the BaseValidator
class. One of the properties of my class is the id of another control which
will determine whether or not the ControlToValidate needs validated (this
property is named conditionid). When I attempt to access this contr... more >>
CR: Using XML Items
Posted by Tony at 2/12/2008 2:20:53 PM
I am developing web aplication in C#. I need to connect to some web service.
I need to enter value for some fields, but these fields are not included in
this object. My wsdl is this:
<xsd:complexType name="NameRQ">
<xsd:sequence>
<xsd:element name="RowNumber" type="xsd... more >>
Unable to Debug because Integrated Windows Authentication is not Enabled
Posted by benoitc@gmail.com at 2/12/2008 1:38:39 PM
I've been having a problem debugging an ASP.NET 1.1 application on an
existing Windows XP/Visual Studio 2003 workstation that I've inherited
from somebody else. The application builds fine, but when I try to
debug, it gives me the message: Error When Trying to Run Project:
Unable to Start Debug... more >>
Advice needed
Posted by Jack at 2/12/2008 1:05:02 PM
Hi there,
This might be a little off-topic but I'm currently in the process of
starting my own web site and need some simple advice only. I'm currently
looking for a web hosting provider and since ASP.NET isn't supported by all
providers, I'm seeking advice as to how I should proceed. My si... more >>
Using the the Request object from a custom class
Posted by Craig M at 2/12/2008 12:57:33 PM
I am trying to create a custom class (.vb) to handle reading cookies from an
intranet site.
I know it's pretty straight forward to do from the .aspx page just using
Request.cookies, but am having some difficluty
implementing that from that from my VB class. Is there a simple way to
implement... more >>
FormsAuthentication and GetRedirectUrl
Posted by Joe at 2/12/2008 12:40:33 PM
Hello,
I'm using FormsAuthentication for a single page. If the user tries to go
direct to the page they are prompted to login. This all works fine. But if
the user doesn't have a user account and clicks the Create user account link
the GetRedirectUrl no longer has the original page they wer... more >>
Variables C#
Posted by Franck at 2/12/2008 11:26:37 AM
I have an application that i just found a big problem. i used Static
variable thinking all instance of my application would have his own
variable. I doesn't seems to. I thought it would have been like
multiple instance of C# app under windows application but doesn't
seems so,
So my question i... more >>
GridView BoundField Width
Posted by mohaaron@gmail.com at 2/12/2008 11:02:06 AM
Why does it seem like is impossible to set the width of a BoundField
in a GridView. I've tried all sorts of different way to set the width
and none of them work. So far the only thing I've done that has worked
is to set the Wrap property to false which is not what I want do.
Can anyone tell me... more >>
export asp.net 2.0 data page
Posted by Shailesh Patel at 2/12/2008 10:48:58 AM
HI,
I have data (no grid) in asp.net page.
I want to export these data as csv file in excel.
Let me know.
Thank you in advance.
Shailesh
... more >>
session_start not firing on production server
Posted by greg at 2/12/2008 10:37:41 AM
Written in Asp.Net 2.0
The session_start fires on Development server running withing Visual Studio
2005
and also if access web site via localhost on development machine.
But if copy to development machine event does not fire
I created a barebones webapplication not website and put code in ... more >>
Upload File
Posted by Sam at 2/12/2008 10:22:09 AM
Hi all,
We have an old web application written in java and we want to convert this
application to .net. this app stores straight html content forms in our
database. These forms then get loaded based on each customer id in the
request.
The problem I'm facing right now is that, when a form... more >>
Virtual Earth in Iframe
Posted by Martin at 2/12/2008 8:35:00 AM
We have placed the Virtual Earth in a IFrame but the pushpin pop ups are
being cut off and hidden behind the main parents page. How can we tell it to
display the pop ups over the top of the iframe border and parent page content?... more >>
Ajax UpdatePanel and Virtual Earth
Posted by Martin at 2/12/2008 8:33:02 AM
Hi
We need to generate the javascript for adding the pushpins based on params
entered during the update panel update. Ie they will enter city and we want
to write back to the page the javascript for adding the pushpins and then to
fire this function using the EndRequest event.
We have the ... more >>
Query Regarding Domain Checker in ASP.NET
Posted by Bhavesh at 2/12/2008 7:16:42 AM
Hi all,
WRT above subject i would like to know that which are the Domain
Checker classes available in .NET framework ?
and from where i can find the example of domain checker which can
check that particular website URL exists Or Not..?.
for ex. i want to check that where http://www.ABC-XY... more >>
Rename and Move File
Posted by shapper at 2/12/2008 5:49:51 AM
Hello,
How can I rename a file and move it from folder A to folder B at
runtime?
Thanks,
Miguel... more >>
Timers in global.asax
Posted by Mubi at 2/12/2008 5:00:07 AM
I am using VS2003 and developing web services. We also need a timed
activity to be performed on the server. If i drag a timer and place it
on global.asax, add interval and timer handler. it doesnot work. Is
there anyone with the answer. How could i achieve this functionality.... more >>
File Upload. Root Path.
Posted by shapper at 2/12/2008 4:52:24 AM
Hello,
I am uploading a file as follows:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button1.Click
If FileUpload1.HasFile Then
FileUpload1.SaveAs("~\Temporary\" + FileUpload1.FileName)
Label2.Text = "File Uploaded: " + FileUp... more >>
loading data from csv file
Posted by AVL at 2/12/2008 3:56:01 AM
Hi,
I've a requirement to load the data froma csv file to sql server table
programaticlly..
I'm working with .net 1.1..so i can't use sqlbulkcopy concept..
which is the best approach to load the daat wrt performance...
as of now, i'm planning to populate into a dataset and loop through th... more >>
Datetime help
Posted by AVL at 2/12/2008 3:54:01 AM
Hi,
I've need some info regarding datetime conversions..
I've a string in the below format'"dd/mm/yyyy"..I want it to be converted to
Datetime object with the date format as "mm/dd/yyyy"
I've used the below code..
Dim provider As IFormatProvider
provider = New System.Globalization.Cu... more >>
How to handle a click in a DataGrid without EnableViewState=false?
Posted by DC at 2/12/2008 3:24:56 AM
Hi,
I want to present hirarchical data in a gridview. Each row offers a
link to another data subset.
When viewstate is off, I have to early rebuild the gridview just to
raise the damn click event (right?). Using viewstate (no matter where)
to rebuild the gridview is no option since the grid... more >>
Session State and cookies
Posted by Chris Zopers at 2/12/2008 1:34:08 AM
Hello,
I've read somewhere that sessionstate does not work when a browser has
disabled cookies, so I wanted to test this and did the following:
I added two aspx pages (c#), in the first I set a session variable like
this: Session["Test"] = "Hello";
On the first page there is a button that... more >>
Request Object
Posted by deepak at 2/12/2008 1:30:03 AM
Hi All,
i m facing a strange situation with request object for asp.net.As per our
project i have to transfer this request from Page1.aspx to Page2.aspx if
contyp = "text/xml".If i remove(ie. comment) the line
xmlInDoc.Load(Request.InputStream) from PAGE1.ASPX then there is no error in
PA... more >>
Problem in IE7.0
Posted by Sudhan at 2/12/2008 12:18:00 AM
hi
I am working in Dotnet.2.0...
i am facing problem in Design....
My Desing work in IE6.0....Now my client want that application to work
in IE 7.0 but i am facing problen in Design....
The Css is not proper Display in IE 7.0
Can any one help me what to do....... more >>
|