all groups > asp.net > april 2007 > threads for monday april 16
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
Reading config file other than web.config
Posted by M Irfan at 4/16/2007 11:58:06 PM
Recently I have started working in .NET 2.0. I am developing a web
service application that references a DLL component written in C# 2.0.
The component has its own config file which contains settings related
to business logic coded in that component. I can reference and load
the component but un... more >>
problem with custom membership provider
Posted by Ben at 4/16/2007 11:12:22 PM
Hi,
i have already posted a more or less similar thread but it's gone unsolved
with the flow of the other threads ..
When an anonymous user has created an new account (with the CreateUserWizard
control), i want to let asp.net generate a password and to send it
(AutoGeneratePassword="true... more >>
trouble executing SP, SqlDbType.Bit...
Posted by Jeff at 4/16/2007 10:46:47 PM
ASP.NET 2.0
This stored procedure fails because the variable type contains a number.
I've debugged the SP in VS2005 and it works if I change the 0/1 value of
type to true/false... How should I fix this?? I cannot just replace type
with the phrase "false" or "true"... maybe using SqlDbType.B... more >>
database datatype bit what is the C# datatype?
Posted by Jeff at 4/16/2007 9:32:47 PM
ASP.NET 2.0
I'm wondering what datatype in C# is the same as bit in SQL Server 2005??
Jeff
... more >>
which passwordformat is used by default?
Posted by Ben at 4/16/2007 8:54:18 PM
Hi,
when creating a membership with CreateUserWizard, which passwordformat is
then used for the password inputted by the user or autogenerated by asp.net
(encrypted, clear or hashed)?
Thanks
Ben
... more >>
ASP.NET Datagrid
Posted by Steven Van Eyck at 4/16/2007 8:34:30 PM
Hi there
There are probably lots of questions being posted about datagrids, but I
can't resist... ;-)
Here's my issue:
I have an aspx page with a datagrid in which I manually declare the columns
like this:
<asp:DataGrid ID="grdCampaigns" runat="server" BorderColor="#73C6EF"
GridLines... more >>
Deployment/publish issues
Posted by GaryDean at 4/16/2007 6:12:59 PM
Regardless if I use the Publish feature of vs2005 or the addin Web
Deployment Project I can't seem to get the necessary files deployed. For
instance my bin directory has several .licx files but neither tool is smart
enough to deploy those files so I have to copy them manually after
deployme... more >>
Covert string to System.Guid, how??
Posted by Jeff at 4/16/2007 6:01:29 PM
ASP.NET 2.0
I'm wondering how to convert a string into a System.Guid!
I have this code where I want to use the convert:
Message.DeleteMessage(hidden.Value);. Here DeleteMessage wants an argument
of type System.Guid, but the hidden.Value (HiddenField) has stored it as a
string. I need to c... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Converting System.Guid to string!
Posted by Jeff at 4/16/2007 5:10:57 PM
ASP.NET 2.0
I have a GridView on my webpage. As one of its columns I've put a
HiddenField into a TemplateField. The porpose of this HiddenField is to hold
the ID of the row. Each row in the GridView shows a purchase order. This ID
column shows the ID of the purchase order. So if the user wa... more >>
Gridview
Posted by bbawa1 NO[at]SPAM yahoo.com at 4/16/2007 4:53:06 PM
Hi,
I have a question. I have a gridview in my aspx page. I grabed the
data from table. But I want that when I see the aspx page initialy the
gridview should be sorted by a column name FirstName in asscending
order by default. How can I do that.
Thanks
... more >>
DB Value in Label
Posted by rn5a NO[at]SPAM rediffmail.com at 4/16/2007 4:47:08 PM
A ASPX Form has a DataGrid & a Label. The Label resides outside the
DataGrid. The DataGrid displays records from a SQL Server database
table. The Label should display the value of a column named *CustName*
which will be common to all the records that the SQL query will
retrieve. This is the cod... more >>
This Membership Provider has not been configured to support password retrieval.
Posted by Ben at 4/16/2007 2:34:48 PM
Hi,
When an anonymous user has created an new account (with the CreateUserWizard
control), i want to let asp.net generate a password and to send it to the
address of the email provided by the new membershipuser in the
CreateUserWizard control.
i think i need to define a custom provider f... more >>
DataView case sensitive
Posted by Tomo at 4/16/2007 1:41:51 PM
I need to search data in DataView with RowFilter property but I need that
searching is case sensitive. How can I do that?
... more >>
EnableViewProperty
Posted by bbawa1 NO[at]SPAM yahoo.com at 4/16/2007 1:15:59 PM
hi,
I have a web page and it has three textboxes. It has already some
text. When I edit the text boxes and click on Edit button the button
supposed to epdate the data in the database. But when I debug it the
value of textboxes gives me the previous value not the edited value
may be in postbac... more >>
ASP.NET 2.0 <base target=_self />
Posted by mgdev at 4/16/2007 1:02:01 PM
I've got a lot of modal dialog boxes in my web application that do postbacks.
Originally my application was developed in VS 2003 and everything worked
fine.
Now I'm upgrading to VS 2005 and all of the pages that were upgraded by VS
appear to be working fine. But any new pages I create to ... more >>
Re: Login failed for user (null). Not associated with a trusted S
Posted by SAL at 4/16/2007 12:49:12 PM
I am having the same problem here as Sherri and am having a difficult time
resolving the issue. For security, I've set up the aspnetdb database on a
remote server in SQL Server 2000. I have IIS 5.1 running on my machine. My
development environment is VS2005 VB.
When I run the app in VS, it ... more >>
urgent please help
Posted by bbawa1 NO[at]SPAM yahoo.com at 4/16/2007 11:58:49 AM
I have the following code but when I build this it gives me errors
that username, userpass, userfname does not exist in current context.
I don't know where is the problem and how can I fix this.
SqlConnection objConn = new SqlConnection("Data
Source=sql1300.mssqlservers.com;Initial C... more >>
Overridden Control and IntelliSense
Posted by Andrew Robinson at 4/16/2007 11:42:53 AM
I have an overridden control:
public class DJGridView : GridView { }
All works great except that I loose IntelliSense for all of the child
elements while editing the HTML file from within VS2005. Any suggestions on
what I could include within my control to enable this functionality?
Tha... more >>
Session Error
Posted by DosPrompt at 4/16/2007 11:32:00 AM
SelectCommand="SELECT A.RowID, A.Account AS [Account], A.Relationship AS
[Relationship], B.City AS [City], B.State AS [State], B.Zip AS [Zip],
A.MainPhone AS [MainPhone], A.ProspectStatus AS [ProspectStatus] FROM
CRM_Accounts AS A INNER JOIN CRM_AddressLookup AS B ON A.AccountID =
B.AccountI... more >>
enum and dropdownlist
Posted by rodchar at 4/16/2007 11:16:02 AM
he yall,
does anyone know the best way to populate a dropdownlist from an enum list?
thanks,
rodchar... more >>
Send value from child window to parent
Posted by Joe at 4/16/2007 10:57:26 AM
I need to popup a window, allow the user to select an image, update the
parent window with this new value (requires a refresh) and then close the
child window.
Are there any examples of something similar to this?
Thanks,
Joe
... more >>
Mixing .Net v1.1 and 2.0 on the same website.
Posted by Mufasa at 4/16/2007 8:46:14 AM
I have a website written in .Net 1.1. As part of it it has a virtual
directory that points so some web services. Currently the web services are
written in .Net 1.1 I want to convert the web services to 2.0. Can I do
this - have a virtual directory pointing to a different version of .Net than
... more >>
Disappearing GridView - Newsgroup???
Posted by Don Miller at 4/16/2007 8:46:05 AM
This is a repost of a reproducible problem/bug with GridView with dynamic
SQL and binding. Is there a better ASP.NET newsgroup I should post to where
MS techs or MVPs take an interest in such problems?
Thanks.
Here is an example of what I believe is a bug in ASP.NET 2.0 GridView paging
... more >>
Help making a site work with Firefox
Posted by Mufasa at 4/16/2007 8:44:00 AM
Can anybody suggest websites that talk about what you need to do to make an
IE site also work under Firefox. What things are allowed and what aren't -
that type of thing.
TIA - Jeff.
... more >>
passing clientid t javascript from aspx declaration
Posted by Aamir Ghanchi at 4/16/2007 8:33:13 AM
Hi, I am wondering why the <%= % is not working when I use it to pass
the clientid to a javascrip function from the aspx declaration code.
Say, I have a listbox webcontrol and from its client-side javascript
eventhandler attribute, I try to pass on the client id as follows
<asp:ListBox ID="m... more >>
asp:RadioButtonList
Posted by C at 4/16/2007 7:50:01 AM
I have below.
<asp:RadioButtonList ID="rblConfirm" runat="server">
<asp:listitem value="Yes">Yes</asp:listitem>
<asp:listitem value="No">No</asp:listitem>
</asp:RadioButtonList>
In my codebehind I have
rblConfirm.Attributes["onclick"] = "javascript:EnableIndependentValues(this... more >>
Access Page's local resource from user control
Posted by schneider NO[at]SPAM rehm.de at 4/16/2007 7:20:37 AM
Is it possible to get access to the local resource
(App_LocalResources) of an aspx page from within a user control
located somewhere else? I have created a user control which I want to
add to a page and read values from the page's local resource. But
within the code of the user control, I can on... more >>
The networkpath was not found
Posted by rcoco at 4/16/2007 4:53:48 AM
Hi,
I'm facing a problem I'm trying to use my website while on client but
When I try to insert data I get an error
[COMException (0x80070035): The network path was not found]
yet on server it works properly why is it so?
Thanks
... more >>
Web/HTML Controls Possible Bug?
Posted by Dessip at 4/16/2007 3:24:34 AM
Hey, im sorry but i dont know if this is the correct group,
I have got some Dynamic Controls on a page. and some static controls
on there as well, but the problem im having, which i think might be a
bug is this. I have 6 list box Web Controls, all showing different
information. (as well as num... more >>
custom errors not behaving as expected
Posted by ilyasdhin NO[at]SPAM googlemail.com at 4/16/2007 3:03:58 AM
Hi all
In my web application I have the following present for customErrors
<customErrors mode="On">
<error statusCode="404" redirect="PageNotFound.aspx" />
</customErrors>
My application has 2 pages, Page1.aspx and PageNotFound.aspx
I have published this application so that its now und... more >>
WebRequestEvent not firing
Posted by David at 4/16/2007 2:20:01 AM
I am trying to configure health monitoring to but I seem to be missing some
events, specifically the request processing events. I am using the following
configuration.
<healthMonitoring enabled="true">
<rules>
<clear/>
<add
name="All Events"
... more >>
assigning 'class' tag using C# function
Posted by divya_rathore_ NO[at]SPAM gmail.com at 4/16/2007 1:42:20 AM
Why doesn't the following code work for a [asp.net + C#] project? How
else can I assign the 'class' keyword a value from outside (not
embedded within the asp.net code, say as in: class=class_red)?
//some C# function
String GetCSSClass()
{
return "class_red";
}
//code in asp.net
... more >>
Q: combining Javascript and ASP-function?
Posted by haakern NO[at]SPAM gmail.com at 4/16/2007 1:31:34 AM
Hi,
In an aspx page, I've got a TreeView and a detail form and a print
button. When the user clicks on the print button, I'd like to collapse
the TreeView and send the page to the printer.
Using Javascript, the print is easy:
<asp:ImageButton ID="btnPrint" runat="server" AlternateText="Print"... more >>
getting the url of a webpage
Posted by bushi at 4/16/2007 12:42:15 AM
hi!
i'm designing a web application,basically it have two
pages,"client_browser.apsx" & "adserver.aspx"."client_browser.aspx"
contains an iframe,and in the iframe i have displayed my
"adserver.aspx".now i want to get the URL path of the client browser
on my "adserver.aspx".but the code ... more >>
How to transfer the contents of aspx page to a PDF file Programmat
Posted by How to embed a Browser............... at 4/16/2007 12:32:01 AM
I have developed an aspx page that dynamically renders the HTML content ..I
want to export the contents now into a pdf file for printing?
Can anyone help me in doing this?Is there any free dll available for doing
this conversion?If not
may i know which softwares are suitable and flexible to... more >>
Database Driven Pages
Posted by JJ at 4/16/2007 12:00:00 AM
[I'm fairly new to asp.net]
I want to create a web site with the page content being driven by my sql
database. This would form the basis of a simple content management system.
i.e. a particular page may be accessed by the url
www.xyz.com/default.aspx?pageid=34
I can achieve this when each... more >>
|