all groups > asp.net > march 2007 > threads for thursday march 29
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
c#
Posted by amantech06 NO[at]SPAM gmail.com at 3/29/2007 11:57:17 PM
Hi ,
i want to refresh the page and get different values from a for
loop , on each refresh
i m using ISPostback , and loop limit is 10
thx
... more >>
/master page.master does not exist
Posted by Kevin at 3/29/2007 10:50:22 PM
The web application runs fine on my Windows XP computer but as soon as I
load it to our Windows 2003 server I get this error
'/master page.master' does not exist
The master page is there so am very puzzled.
Any ideas as I seem to be going around in circles.
... more >>
FindControl
Posted by rodchar at 3/29/2007 8:20:02 PM
hey all,
is it possible to find a label that's inside a FormView which is inside a
Panel all in one statement?
thanks,
rodchar... more >>
How to verify file exists with asp:FileUpload
Posted by bryanp10 NO[at]SPAM hotmail.com at 3/29/2007 6:39:30 PM
How do I do a client-side check to see that a file exists before
attempting to upload it? I am trying to avoid the "Access denied"
error I get on form submission if an invalid name is entered in the
textbox.
This page does it beautifully:
http://msconline.maconstate.edu/tutorials/ASPNET2/ASP... more >>
DateTime.ToString get specific time format
Posted by Grant Merwitz at 3/29/2007 5:58:25 PM
Hi,
I'm trying to enter the time in the following format:
HH:MM:SS AM/PM
e.g. 05:33:21 PM
How can i achieve this from the Date Time object?
DateTime.Now.ToString("?");
I've search MSDN, and they only seem to cater for the 24 hour clock,
not the 12 hour clock
In the mea... more >>
Failed To load viewstate when loading usercontrols
Posted by j-in-uk at 3/29/2007 5:39:04 PM
I have linkButtons on my page, onclick of the link button I want to
load the proper usercontrol, this works fine the 1st time I click but
when I click the 2nd linkButton
I get "Failed to load viewstate. The control tree into which
viewstate is being loaded must match the control tree that wa... more >>
Are VS 2005 Express Products real VS 2005?
Posted by Jeffrey at 3/29/2007 5:36:01 PM
Just found out that there is an Express Products edition for VS 2005, and it
is free for downloading from Microsoft web site. Is this just an evaluation
version? Or a real VS.net 2005 for small projects?
If we just want to develop ASP.net web pages using VB.net, will these
Express Product... more >>
How do I change the session timeout?
Posted by David Thielen at 3/29/2007 5:24:04 PM
I tried:
<sessionState timeout="1">
</sessionState>
bounced IIS, and after 1 minute still had a session.
???
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
binding dt to txt
Posted by rodchar at 3/29/2007 4:32:00 PM
hey all,
i have an incoming datatable in my web page and i'd like to bind one of the
fields to a textbox. can someone please show me how to do this?
thanks,
rodchar... more >>
FindControl on a Wizard
Posted by Srini at 3/29/2007 3:55:10 PM
I customized the SideBarTemplate of the Wizard control and added a Label =
with ID Label1 to it.=20
I want to change the Text of the label based on the current step. But =
the following always returns null
Label L =3D (Label)Wizard1.FindControl( "Label1" );
As per the help file, this should r... more >>
About XBap, XAML, Browser Applications
Posted by dgk at 3/29/2007 3:40:34 PM
From what I've been reading, an XBap application could be really good
for a place like mine where everyone will have a PC that has framework
3 loaded and runs IE. The app is downloaded from a server but runs in
the browser, hosted by PresentationHost.exe.
So, since it gets the app from the ser... more >>
Page Load is first then Radiobuttonlist.selecteditemChanged, can we change this?
Posted by ricardo.sobral.santos NO[at]SPAM googlemail.com at 3/29/2007 2:24:52 PM
Hello,
I am trying to get the value of the radiobuttonlist. The problem is
that I need it to be unselected at every page load. The
radiobuttonlist is set to autopostback (true).
My idea is simple. When I select a value, I get it, insert something
into the database with that value and the page... more >>
registerclientscript
Posted by Fritz the Cat at 3/29/2007 2:20:47 PM
why do i have to do that.
Why not put the script on the bage between the <script > tags?
... more >>
UpdatePanel Postback - How to make it work ?
Posted by Jl_G_0 at 3/29/2007 2:20:46 PM
I have a form with ALL my controls on an updatepanel, but theres one
giving me a hard time, its an asp:FileUpload control.
All I want to do is:
- Click on a LinkButton <- WORKS
- Open a ModalPopUpExtender with the FileUpload <- WORKS
- Select the file and click on another LinkButton to clo... more >>
How do I replace modal dialog?
Posted by Harry Keck at 3/29/2007 2:16:03 PM
I open a window with showModalDialog. From within this modal dialog I want
to redirect the dialog to another URL. I have tried all kinds of methods to
redirect the page from the server and directly from html script, but instead
of redirecting the current dialog, a whole new window always pop... more >>
RenderControl and asp:TreeView
Posted by GroupReader at 3/29/2007 2:14:26 PM
When doing a "callback" I normally call a webControl's RenderControl
method to get the html for that WebControl.
This has always worked great in the past, but it does not seem to
work with an asp:treeview control.
When I call MyTreeView.RenderControl, the html that I get is not what
I exp... more >>
converting 1.1 pages to the master page
Posted by JJ at 3/29/2007 1:55:39 PM
I am trying to convert applications built with .net framework 1.1 to use
master pages. On a couple of aspx pages, I call certain javascript
functions
<body onresize="blah()"....>
However, now that <body> tag is in master page, I cannot do this. What is
the correct way/workaround for this... more >>
problem binding visible property to database bit field
Posted by Mark B at 3/29/2007 1:29:33 PM
I have a gridview that contains a linkButton in a template field. I
want to set the visibility of the linkbutton based on a bit field in a
database.
Selecting the proper field in editbindings gives this in the code
Visible='<%# Eval("completed") %>'. (where "completed" is a bit field
in a sq... more >>
Kerberos Authentication for ASP.Net?
Posted by Tina at 3/29/2007 12:48:36 PM
I have a client that wants his new asp.net app to be authenticated using
Kerberos instead of forms authentication. I used Kerberos years ago for
logon security for users to long on to NT. However I am at a loss to
understand how it would work for asp.net authentication.
Can someone help m... more >>
Returning SCOPE_IDENTITY from SQLDataSource and DetailsView
Posted by David Lozzi at 3/29/2007 12:38:06 PM
Howdy,
ASP.Net 2.0 using VB on SQL 2005
This is a two fold issue.
I have a DetailsView control which users can insert or edit items. Editing
works great. Insert works great however I need to display the form once the
user has entered the information and clicked Add.
1) Trying to get th... more >>
Can we populate a XML formated string into a dataset?
Posted by david at 3/29/2007 12:04:02 PM
When I check the syntax of dataset, It seems that dataset can only read data
from file. (e.g., datset.read(string filename), dataset.readxml(string
filename)).
If I have a string with XML format that is transfered from somewhere else,
how can I read the string and populate it into a dataset... more >>
Use <Configuration>..... as text
Posted by Gabriel at 3/29/2007 11:48:40 AM
Hello,
I'd like in an asp.net page use as text this :
<configuration>
<connectionStrings>
bla bla bla ...
</connectionStrings>
</configuration>
but when I do that I have an compilation error.
What can I do ?
thanks,
... more >>
Please help with SecurityException: That assembly does not allow partially trusted callers.
Posted by Matt Culbreth at 3/29/2007 11:31:47 AM
Hello All,
I've got a very simple ASP.NET 2.0 application which uses a DLL from a
third party. I don't have the source to this DLL.
Everything has been working fine on my XP development machine, but as
soon as I deploy to a Windows 2003 Server I'm getting the following
error:
[SecurityE... more >>
Virtual directory woes
Posted by David at 3/29/2007 11:00:53 AM
Hi all,
Using C# .NET 1.1
I am creating a CMS type of application. So far so good. I have a templating
system in place that works fantastically. I can remap non-real files and
folders and get the CMS system to handle it. This is working quite cool.
I have a 404 handler in place which he... more >>
divide appSettings between web.config and a section in external file
Posted by Sergei Shelukhin at 3/29/2007 9:56:09 AM
Hi.
Is is possible to divide appSetting in two, having some values stored
in web.config itself and some in a section referenced in appSettings
file="...." attribute?
... more >>
what is 8.3000000000000004E-2
Posted by GaryDean at 3/29/2007 9:19:40 AM
I reading through an Excel xml file reading numbers and putting them into
columns in a grid. I come upon this file (that excel can read just fine)
where I encounter:
<Cell ss:StyleID="s28"><Data
ss:Type="Number">8.3000000000000004E-2</Data></Cell>
When I try to move that number into a ... more >>
DROPDOWLIST PROBLEM
Posted by bluelabs at 3/29/2007 8:22:04 AM
Hello to everyone,
I have web site ASP.NET 2.0
I have dedicated server for that site it is very fast calling from the
internal LAN
When we call from internet is fine except one page
In that page I have 8 DropDownList(s)
if I disable the code for populate DDlist the page i... more >>
how to fetch only newly added/edited record
Posted by Pravin at 3/29/2007 7:36:04 AM
We are using .net Framework 1.1
We are having one page on which we are using this Grid component.
From this page we open a popup for adding new record as well as for editing
an existing record (For Edit we want to pass the ID of that particular row)
And when user clicks on 'SAVE' button i... more >>
Byte[] with PDF, how to stream to client, anyone know ? need some help.
Posted by jesper_lofgren NO[at]SPAM yahoo.se at 3/29/2007 7:13:49 AM
Hello,
I have a bytearray with a pdf document inside. I whant to stream it to
the client (explorer IE) for download.
I just got the bytes writen on the screen , like
%PDF-1.4 %???? 10 0 obj<> endobj xref 10 1627 0000000016 00000 n
0000035440 00000 n 0000032836 00000 n 0000035530 00000 n 000... more >>
status page design
Posted by rodchar at 3/29/2007 6:20:03 AM
hey all,
i have a simple web page that just shows basic statistics about a company
(demographics). The UI has been a weak area of mine and wanted ask everyone
ideas on how to pretty up a plain page. For example, articles that talk about
user interface design or just easy ideas for a great lo... more >>
Internal Applications app
Posted by NH at 3/29/2007 3:14:02 AM
Hi,
I have to create some sort of web based app to handle different policy forms
and request forms. For example someone may apply for an internal vacancy and
will fill out a form online (all this is an intranet based app).
But there are 10-20 different type of forms people may occasionally... more >>
how to grab values from javascript generated items?
Posted by Eric Layman at 3/29/2007 2:13:22 AM
HI,
Im on dotnet 1.1
I've generated extra checkboxes, textboxes via client side javascript:
eg:
var inputElement = document.createElement('input');
inputElement.setAttribute('type', 'radio');...
inputElement.setAttribute('id', 'xx');
....
How do i capture these values via s... more >>
Caching until 23:59 o'clock...
Posted by mesut at 3/29/2007 1:37:59 AM
Hi colleagues,
I have a small issue. I don't know how to solve it. I'm caching a
property value : True or False. I do this manually and it works. But I
would like to remove the cache if the the time is 23:59 o'clock. How
can I automatically release the cache at 23:59 or 23:00 o'clock? Look
at... more >>
Deleting controls & their data from ViewState
Posted by Bjorn Sagbakken at 3/29/2007 12:24:57 AM
With ASP.NET 2.0:
I have managed to create controls dynamically in an asp:table, populating
them with database info, and even adding empty rows of controls for adding
new data to the database. For all this to work I add a ViewState counter, so
far so well.
But I also want to clear the fo... more >>
Cannot store arraylist in session
Posted by ricardo.sobral.santos NO[at]SPAM googlemail.com at 3/29/2007 12:04:55 AM
Hi there,
I cannot store an arraylist in a session. I have read some posts and
still found no solution. I am sure it might be something simple, but
since I have been around it for quite sometime I ask for your advice.
Here is my page load.
Protected Sub Page_Load(ByVal sender As Object, B... more >>
ASP.Net newbie question (example code appreciated)
Posted by 2b|!2b==? at 3/29/2007 12:00:00 AM
I want to create a really simple (proof of concept) website with the
following requirements.
1). I can specify the web address (say http://localhost/mywebsite)
2). I have a "handler" script (in C#) that allows me to respond to
requests from a client (see notes below):
Notes:
=======
I h... more >>
Hi
Posted by news.microsoft.com at 3/29/2007 12:00:00 AM
I am new to asp .net , could anyone please help me getting started with asp
..net
regards
heap
... more >>
Another Gridview Question
Posted by Gunawan at 3/29/2007 12:00:00 AM
Hi All,
I have populate data in gridview manually.
SqlCommand cmd = new SqlCommand(strSQL, cn);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds, "hzFileUpload");
gvFile.Visible = true;
gvFile.DataSource = ds;
gvFile.DataBind();
... more >>
|