all groups > asp.net > june 2006 > threads for thursday june 1
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
membership createuserwizard add extended property.
Posted by guoqi zheng at 6/1/2006 10:41:27 PM
Dear sir,
I am using the createUserWizard of ASP.NET 2.0. I am trying to add two extra
fields to it. FirstName and LastName. However I did not find out how can get
the value out of this two addtional fields?
I tried
Dim ctlFirstName As TextBox = CType(CreateUserWizard1.
FindControl(... more >>
strange values for checkbox items
Posted by Andreas Bauer at 6/1/2006 10:40:16 PM
Hi,
when the page loads I want to add items to a checkboxlist.
CheckBoxList cbprofiles = new CheckBoxList();
foreach (ProfileService.ProfileType p in profiles)
{
cbprofiles.Items.Add(new ListItem(p.name, p.id.ToString()));
}
ProfilesPlaceHolder.Controls.Add(cbprofiles);
p.id.ToStri... more >>
Master pages - organising layout - contentplaceholder confusion
Posted by (kdfake NO[at]SPAM spam.com) at 6/1/2006 10:37:55 PM
Ok
Im a bit confused with contentplace holders?!!
Should i use div all the time within them?
--
--------------------------------- --- -- -
Posted with NewsLeecher v3.5 Beta 10
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -
... more >>
How to make webform appear center in web browser
Posted by (kdfake NO[at]SPAM spam.com) at 6/1/2006 10:05:28 PM
I cant figure out how to do it...
Any clues?
R
--
--------------------------------- --- -- -
Posted with NewsLeecher v3.5 Beta 10
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -
... more >>
Read XML from string instead of file (C#)
Posted by th3dude at 6/1/2006 9:40:43 PM
I've searched quite a bit for this one and i can't find any solid
solution for what i'm doing here.
Right now i'm geting an xml string from an API, creating an xml file,
then read the file with XPath or XmlReader, grab the attribute data,
dump it into the database.
Once all that's done i ... more >>
Handling Postbacks if using ISAPI rewrite?
Posted by darrel at 6/1/2006 9:18:44 PM
We're using ISAPI rewrite to turn this:
/district/2
into this actual URL
/default.aspx?siteID=2
Up to this point, things have been working perfectly, but we've never had to
do a postback, oddly enough. We're finally adding some functionality and
want to do some post back stuff.
Th... more >>
Closing browser in Firefox
Posted by srinivas at 6/1/2006 8:22:01 PM
Hi,
I'm having a link on asp.net page,through which i want to close the browser
window.Using javascript i used window.close(), which is working perfectly in
IE,but when i'm running the same asp.net page in firefox browser link is not
working.
Can anybody help me in this
Thanks... more >>
how can we make detailsview movable?
Posted by loga123 at 6/1/2006 6:08:03 PM
Hi All,
I am using ASP .NET 2.0. I have gridview displaying data and when a row
is selected on gridview "detailsview" pops up based on the row selected
from gridview.
I want to make this "detailsview" movable as we do with "windows".
How can we achieve this?
Thx
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Enter in textbox becomes round-trip
Posted by Edwin Knoppert at 6/1/2006 6:06:13 PM
I have a SELECT query page with a GO button.
A textbox is used for criteria.
When i press enter the page refreshes but actually the GO-button is NOT
executed.
The button is the only button.
The textbox does not have the autopostback set
What get's executed (so i can suppress it)?
Thanks!
... more >>
SelectCountMethod error - looking for parameters?
Posted by miky at 6/1/2006 4:50:46 PM
Hi,
I'm trying to get custom gridview paging working and I'm getting the
following error:
"ObjectDataSource 'ObjectDataSource1' could not find a non-generic
method 'count' that has parameters: p_TableName, p_OrderBy, p_MaxRows,
p_PageNum, p_StartRowIndex."
I have a gridview associated to a... more >>
securityTrimmingEnabled hides files that should be exposed
Posted by keithb at 6/1/2006 4:33:13 PM
ASP.NET Web Site Administration Tool sets access rules by folder, not by
individual file. What would cause some files in a folder to be hidden and
some to be displayed when securityTrimmingEnabled="true"?
Thanks,
Keith
... more >>
Accessing other members profile properties
Posted by Jesse Johnson at 6/1/2006 4:28:01 PM
I have an important question. How would I access profile information on
another member? Exaple: John and Sue are both members of an aplpication, but
when john is logged in he needs to see Sue's contact # which is stored in her
profile data. How would I write code to acees another members profi... more >>
Response.Write with QueryString and Target
Posted by sck10 at 6/1/2006 4:27:27 PM
Hello,
I am trying to redirect to a new URL using a query string and target. I can
not figure out how the syntax should be for setting the target. Any help
with this would be appreciated.
--
Thanks in advance,
sck10
Public strQuote As String = """"
Dim strTarget As String = "target=... more >>
Display Insert Template on FormView when "Add New" button is clicked
Posted by scartin NO[at]SPAM gmail.com at 6/1/2006 3:57:06 PM
I'm fairly new to working with ASP web controls, and am running into
what seems to be a ridiculous problem that I'm hoping will be a breeze
for an experienced ASP developer.
I have a GridView and a FormView on the same page, where the GridView
is visible at page load, and the FormView is set t... more >>
how to execute the DeleteCommand in code-behind?
Posted by phil at 6/1/2006 3:37:20 PM
Hi,
The connection and DeleteCommand of a gridview are defined in the aspx file
like this:
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\mydb.mdb"
ProviderName="System.Data.OleDb"
DeleteCommand="delete from mytable whe... more >>
GRIDVIEW: formatting headertext
Posted by MarkAurit at 6/1/2006 3:03:01 PM
I have a BoundField, and I need to split the HeaderText onto >1 line. Is
that possible? An embedded <BR> is just added as text.
Thanks... more >>
Passing Server side variable to JavaScript?
Posted by rockdale at 6/1/2006 2:54:26 PM
Hi, All:
How can I achieve this?
I have a Function in JavaScript and this function requires an argument
which retruns from a backend C# function.
I tried the following, but keep getting error "CS1525: Invalid
expression term '<' "
I remeber we can do something like this in ASP. ?
<a... more >>
Parsor Error at Webhoster
Posted by GaryDean at 6/1/2006 2:33:00 PM
I have a small asp.net app that I have been running at a webhoster who blew
himself up. So I transfered webhosters but my app won't run at the new
webhoster. It also runs fine on my dev boxes.
The error is "Parsor Error". It higlights the only line in my global.asax
that say ....
<%@ ... more >>
datetime convert experts...help wanted
Posted by dave at 6/1/2006 2:29:02 PM
I have a string "05142000" i want it converted to a date.
Any good clean ways of doing this without reverting to string manipulation?
I have tried
mydate = Date.ParseExact("05142000", "ddMMyyyy", Nothing) but it complains
about "string is not supported in calendar
System.Globalization.Gr... more >>
Identity Name
Posted by Andrew Robinson at 6/1/2006 1:26:21 PM
I am using
string username =
System.Security.Principal.WindowsIdentity.GetCurrent().Name;
to retrieve the current username. This works fine running under the
development server (Cassini) but always returns DOMAIN\ASPNET when running
under IIS 5.1 (Win XP). I have turned on Integrated Aut... more >>
Website works in debug but not when deployed.
Posted by egamble NO[at]SPAM gmail.com at 6/1/2006 1:17:18 PM
I think it has something to do with my connection string(s) as the
error is:
Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection. But when i test my connection it works fine and
it works fine in debug... Besides the data source and initial
catalogue, the ... more >>
Accessing Session State with AJAX...
Posted by Charlie NO[at]SPAM CBFC at 6/1/2006 1:03:59 PM
Hi:
When my AJAX client calls back to server, I can't access Session variables.
Is it possible with a client side call back?
Thanks,
Charlie
... more >>
Add invisible comments to asp.net page in VS2005
Posted by walanta at 6/1/2006 11:49:58 AM
Hi,
Anyone know how I can add some invisible comments onto asp.net page
during development in VS2005 so I remember to make more changes the
next time I go check the code?
I want to be able to see it in design view, like a quick note.
If it has to be shown in source view, that's fine too.
A... more >>
QUERY: VS2003 + .NET 2.0
Posted by Dhruba Bandopadhyay at 6/1/2006 11:34:19 AM
Am wondering if it's possible to make VS2003.NET work with .NET2.0 SDK? Just
as we were able to use VS7.1 compiler kit in VS6.0. My company bought lots
of VS2003.NET but now we want to use .NET 2.0 but without using VS2005
Express, etc. Possible?
... more >>
Space presenting as %20 in link
Posted by trichert NO[at]SPAM gmail.com at 6/1/2006 11:34:10 AM
Ok , developing a .aspx page with Visual Web Studio (the full page is
at the bottom). Basically its a page that displays all my computers
and the current logged on user pulling data from a live Altiris
database.
This works fine, i have added a feature with a link for me to click to
run radmi... more >>
Impossible to localize a Web Setup Project
Posted by WT at 6/1/2006 11:31:35 AM
Hello,
Documentation speaks about a country list-box in the project properties, but
this list box is missing in VS2005 Pro.
Where is the problem ?
CS
... more >>
asp.net 2.0 Master Page
Posted by sck10 at 6/1/2006 11:30:41 AM
Hello,
Currently I am using the following:
<%@ Page Language="VB" StylesheetTheme="Default"
MasterPageFile="~/template/mpColumn02.master" CodeFile="custrev.aspx.vb"
Inherits="custrev" title="Untitled Page" Trace="false" %>
Is there any way to pragmatically change the MasterPageFile? I ne... more >>
Changing ProductName in a Web Setup Project
Posted by WT at 6/1/2006 11:30:04 AM
Hello,
I can't find were to set this value, by default it take the project name
which is not easy.
Thanks for help.
CS
... more >>
assigning values to cells on itemdatabound
Posted by gane at 6/1/2006 11:10:22 AM
Hi,
I would like to assign a value to a datagrid item using the column name
instead of using something like e.item.cell[1].text in itemdatabound
eg:
DataRowView rv = (DataRowView)e.Item.DataItem;
string strLocation = Convert.ToString(rv.Row["locationptr"].ToString())
I used dataitem to ... more >>
Debugging - can step over, but not step into.....
Posted by Robin Mark Tucker at 6/1/2006 11:08:52 AM
I have a problem with my web service - I can step into/through web methods,
line by line, but the VS debugger absolutely will not step into a VB.NET
method in a library the web service is using. I'm using VS 2005, IIS 5, SQL
Server Express.
I have a library, imaginatively called "Common", ... more >>
html editor for update pages contents
Posted by Noro at 6/1/2006 10:23:20 AM
Hello,
I develop a Web site ASP.NET which contains dynamic pages (example: News .).
I would want that the administrator of site can add and update contents in
these pages with formatting options (example: colors, fonts.); I believe
that the solution is a small html editor.
Somebody could... more >>
how to get number of files in a folder
Posted by sasikumar at 6/1/2006 9:58:00 AM
i have created a new folder inside project(say update for storing
update files for software)
how can i get total number of files in that folder.what will be full
path for accessing that folder.(path compatibile for use in system.io)
... more >>
JavaScript features available in .NET 2.0?
Posted by Rob R. Ainscough at 6/1/2006 9:56:30 AM
Has anyone compiled a list of JavaScript features/functionality that is now
available directly (aka code behind) in .NET 2.0 web apps?
For example the Screen object or the document object?
I'm doing my best to NOT use JavaScript, but I'm finding that difficult with
..NET 2.0.
Thanks, Ro... more >>
User last accessed?
Posted by Rob R. Ainscough at 6/1/2006 9:53:26 AM
Is there a way (other than actually storing the info in a database) to
determine when a user last accessed my web site using .NET 2.0? Or even a
JavaScript method?
... more >>
Session not available across multiple servers in "InProc" mode
Posted by NAT at 6/1/2006 9:36:02 AM
I am using session mode as "InProc"(entered in web.config). I have deployed
my ASP.NET appln. on a server which uses Load Balancer. i.e I have two
servers.
I am using session across pages.The problem I am facing is that sometimes I
find the session and sometimes not. I beleive this is hap... more >>
Question about auto refresh on Page_load
Posted by Armand at 6/1/2006 9:05:24 AM
Hi All,
I have got a tricky prob here,
Basically I'd like to refresh my aspx page on page load (once only)
I put this following code on Page_load method:
Response.Write("<SCRIPT
language='javascript'>window.location.reload()</SCRIPT>")
but eventually it refresh repeatedly, Is there a way t... more >>
Need help fixing File Delete permission issues! (I'm loosing my hair!)
Posted by darrel at 6/1/2006 9:02:47 AM
I know I'm sounding like a broken record. I already asked this question last
week.
Alas, this question seems to be getting very few responses no matter how I
word it or where I post it. Apparently, this is a rather rare occurance (or
maybe people just don't like me...both pluasible theories... more >>
gridview formatting question
Posted by John at 6/1/2006 8:47:46 AM
I'm using the gridview on my web form and I want to format cells based on
text, in 1.1 you would do grid_itemdatabound, and do some formatting there,
with the gridview how would I do the same thing?
... more >>
odd cookie issue (I think)
Posted by darrel at 6/1/2006 8:43:31 AM
Our CMS application, when you log in, writes a cookie to your computer and
stores a variety of permission variables that pertain to you.
Whenever we update data in the CMS in our application, we grab these
variables from the cookie.
This works. Usually. Once in a while, though, it doesn't ... more >>
Asp.net problem with sql server
Posted by amjad at 6/1/2006 8:29:02 AM
public void BindGrid()
{
SqlConnection myConnection = new
SqlConnection("Server=Server;database=MyDatabase;UID=xyz;PWD=123456;Trusted_Connection=Yes"); Or
and i tried with "Server=Server;database=MyDatabase;Trusted_Connection=Yes");
myConnection.Open();
SqlDataAdapter myComma... more >>
ASP.NET control using Javascript
Posted by kplkumar at 6/1/2006 8:18:10 AM
I have created a asp.net date picker control using Javascript. I wanted
to do this to avoid doing post back when the calendar window is
launched. It works like charm.
But the challenge is - the control does not use any asp.net controls
like button or textfield. It uses html "input" for the tex... more >>
best app path method
Posted by kpg at 6/1/2006 7:57:20 AM
I have seen two ways to get the application path on the server:
Server.MapPath(Request.ApplicationPath)
which returns: "c:\Inetpub\wwwroot\MyWeb"
and:
AppDomain.CurrentDomain.BaseDirectory()
which returns: "c:/Inetpub/wwwroot/MyWeb/"
Now, on my Win2000 Serve... more >>
JavaScript error
Posted by Jon at 6/1/2006 7:53:02 AM
Hello all,
The following <a> which contains a javascript window.open is causing the
error:
'return statement outside of funcion'
and the link..
<a href="javascript:window.open('http://www.msn.co.uk', '123',
'height=550,width=700, resizable=no, left=20, top=10, scrollbars=yes');
ret... more >>
ASP.net 1.1 .msi files
Posted by CharlesA at 6/1/2006 7:52:02 AM
Hi folks,
using ASP.net 1.1 with C# and visual Studio 2003
anybody know any useful URLs out there on how to create an installation
project for a Web app. I know about XCOPY but my client wants an .msi
file..(which is fair enough)
Regards and thanks in advance,
CharlesA
... more >>
Db2 Conection
Posted by Anuradha at 6/1/2006 7:44:40 AM
Dear Experts
I need to connect to the AS400 DB2 files and I don't know how to do that pls
I need help on this
Thx
Anuradha
... more >>
How to guarantee file upload won't crash server?
Posted by Steve at 6/1/2006 7:38:05 AM
ASP.NET 2.0 - IIS 5.0
I am using the asp.net 2.0 file upload control in my application. Users
can upload files up to 4MB. i.e. I just kept the default. If someone
maliciously tries to upload big files of say 200MB is order to try and
drain server resources and crash the site, will IIS cut him ... more >>
asp.net debuggin error
Posted by amjad at 6/1/2006 6:46:01 AM
hi i received that error
error while trying to run project: unable to start debuggin on the web
server. the debugger component on the server failed to connect to the local
machine.
any body have any idea. i am using sql server 2005 and .Net 2003 on windows
server 2003 thanks... more >>
ASP.NET 2.0 With Visual Studio 2003
Posted by Dhwanit Shah at 6/1/2006 6:06:03 AM
Hi,
I have one question regarding ASP.NET 2.0.
Question : If i want to use ASP.NET 2.0 along with .Net Framework 2.0 and
Visual Studio 2003 then what shud i do ?
Actually i want to use ASP.NET 2.0 with the help of Visual Studion 2003.
If anyboby is having an idea please reply back to me.... more >>
SqlDataSource DeleteParameters
Posted by Mike P at 6/1/2006 6:00:51 AM
I'm a little confused as to how the SqlDataSource works with its
DeleteParameters. I have a GridView hooked up to my SqlDataSource.
Here is my templatefield with my Delete button :
<asp:TemplateField HeaderText="Select">
<ItemTemplate>
<asp:LinkButton ID="DeleteButton"
CommandArgumen... more >>
Accessing GridView cells from JS
Posted by Mr. Murad Jamal at 6/1/2006 5:59:02 AM
Is it possible to access the cells of a gridview control from java script
code ? HOW can that be done ?
thanx in advance !... more >>
code behind language
Posted by nasirmajor NO[at]SPAM yahoo.com at 6/1/2006 5:27:17 AM
Being a starter in asp.net (using visual studio express) what is the
preferred code behind language to work with (vb.net or c#) plus which
is most useful plus future oriented
... more >>
Query: Vs2003 + .net 2.0
Posted by dhruba.bandopadhyay at 6/1/2006 4:40:41 AM
Am wondering if it's possible to make VS2003.NET work with .NET2.0 SDK?
Just as we were able to use VS7.1 compiler kit in VS6.0. My company
bought lots of VS2003.NET but now we want to use .NET 2.0 but without
using VS2005 Express, etc. Possible?
--
dhruba.bandopadhyay
----------------... more >>
redirection with form authentication
Posted by graphicsxp at 6/1/2006 3:57:43 AM
Hi,
I'm using FormsAuthentication.redirectFromLoginPage() in order to to
user authentication.
The problem is that I'm redirected to the last page visited before the
session expired (or the default page if I log on for the first time).
how can I force the redirection to the default page each ti... more >>
asp.net problem
Posted by amjad at 6/1/2006 2:53:01 AM
I have used the link below and try to run the example
"http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path=/quickstart/aspplus/samples/webforms/data/datagrid1.src&file=CS\datagrid1.aspx&font=3"
but it giving me the error i dont have any idea whats wrong seem to be olrite
but still g... more >>
v General question about Perl/CGI/.jsp etc...
Posted by CharlesA at 6/1/2006 2:29:02 AM
knowing only how to do C# web apps and nothing about the other standards out
there....
anyone care to enlighten me about how CGI works? are (Perl and CGI the same
thing) is it just a language that the user manipulates to churn out strings
of HTML (a la classic ASP) or does it have a framework... more >>
When I change field's visible property to false , error occurs .
Posted by michaels at 6/1/2006 2:19:02 AM
Dear all
As Follow. how to solue the proplem . tks
ps:the field is defind to not Null
forgive my poor english . ... more >>
Image File Not getting Deleted (IO Exception)
Posted by Aryan at 6/1/2006 1:29:25 AM
Hi All,
I am creating an image(.gif) file on server Using ASP and ShotGraph
Third Party Tool, now with the help of this .gif image I am creating
another Thumbnail image in ASP.NET.
Now this newly created Thumbnail is been shown in ASP.NET page in
IFrame, I have delete Button in my ASP.NET p... more >>
|