all groups > asp.net > october 2006 > threads for friday october 20
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
Bound textboxes to a datasource control
Posted by Mohammad Hashemian at 10/20/2006 11:43:40 PM
Hello,
In a web based I have to implement a form with a DataGrid control. this
control shows some fields of a data table. I want when a user clicks on
a row, some other fields of that table be shown in some other controls
on form, for example two text boxes.
How can I bind that text boxes to my... more >>
How to get the current aspx page innerhtml in code-behind
Posted by joe at 10/20/2006 9:48:01 PM
How to get the current aspx page innerhtml in code-behind
e.g.
<htm>....
</html>
all content... more >>
Numericupdown control
Posted by Guy Noir at 10/20/2006 8:46:09 PM
Hello. I've been coding in C# with windows forms for a while now. I've
developed an application that I would like to move to an online app
using asp.net.
My application focuses around the control numericupdown. I don't
*think* I can use that control directly, but I wanted to get some ideas
fr... more >>
Hosting ASP.Net fails after upgrade to .Net 2
Posted by Paul Newman at 10/20/2006 7:59:33 PM
I have been hosting ASP.Net in my app for some time, with no problems, with
framework 1.1 (VS 2003). Having just upgraded to 2.0 (VS 2005), and it now
gives this error:
HttpException (0x80004005): The path '/MyApp/App_GlobalResources/' maps to a
directory outside this application, which is not... more >>
Asp.net fails on restored server
Posted by Microsoft.com at 10/20/2006 7:57:20 PM
Just recovered from a crash.
After restoring from backup any asp.net application fails with the message
below.
machine.comfit has no changes from the default except a user/password.
I've tried uninstall & reinstall, repair, & upgrade.
Anyone have any ideas?
======
An error occurred loading... more >>
Show All Files in ASP.NET
Posted by kai at 10/20/2006 7:23:08 PM
Hi,
Show All Files button in Solution Explorer doesn't work when creating Web
site (Is diabled), it works when creating Windows project. How do I enable
it under Web?
Thanks
Kai
... more >>
Accessing Master Page Custom Properties in Design Mode
Posted by Suresh at 10/20/2006 7:07:01 PM
Is there any way to access the custom properties of a master page from the
aspx form?
I know the custom properties of a master page can be accessed from the
aspx.cs partial class by specifying the MasterType directive on the aspx form.
My master page will render a custom navigation menu an... more >>
ComboBox Text and Value
Posted by Jl_G_0 at 10/20/2006 6:34:38 PM
Hey all.
I need to create a ComboBox with some strings on it, but when the user
selects it, I want to have codes for each one of the strings, because
the app is waiting Return in codes (but not index of combobox). I was
thinkin on doing it like this:
cbItem.Text = "Text"
cbItem.Idcode = "C... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ASP.NET random images
Posted by Sahus Pilwal at 10/20/2006 6:27:21 PM
Hi,
I hope someone can help me with this. I'm new to .NET and in fact server
side programming and have a small query I'm sure...
I'm using the System.IO Namespace with a For - each and If then statement to
randomly generate images to display in a <asp:image/> image control. The
random im... more >>
table
Posted by Lia at 10/20/2006 4:52:02 PM
cómo puedo crear una tabla desde codigo en asp.net? para que en dicha tabla
coloque controles (dropdownlist y labels)
... more >>
aspx snippets via include?
Posted by David Thielen at 10/20/2006 4:20:02 PM
Hi;
I know we have master pages but do we have the oppisate - can I create a
snippet of aspx code to then include in 2 apsx pages? And if so, how?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
... more >>
SQL Server Session State ignoring Timeout value
Posted by Jarf at 10/20/2006 3:58:20 PM
I have and ASP.Net 2.0 application I've set the session state to use
SQL Server and I modified the Timeout setting to be 60 minutes.
However, my session is still expiring in 20 minutes. Looking in the
database this is the value for all sessions. The session settings look
as follows:
<sessionS... more >>
disable button after confirmation message
Posted by brianpmccullough at 10/20/2006 3:40:02 PM
I have an ASP.NET page that has a few buttons on it. One of the buttons
kicks off a long running process on the web server and I want to prevent the
user from clicking the button again while the long running process is working
(i.e. before the page completes it's "postback").
I tried some... more >>
Post Data to PayPal from Code Behind
Posted by Yourself at 10/20/2006 3:39:21 PM
Hi, I'm trying to post data to PayPal for a shopping cart, basically I want
to replicate a form like the following, but create the variables dynamically
from code behind:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
... more >>
troubleshooting markup SQLDataSource with a bunch of session variables?
Posted by jobs at 10/20/2006 3:09:04 PM
I've got a page with Formview that has a sqldatasource doing a
compicated select with a bunch of session parameter variables set in a
calling page.
1. Is there anyway to response.write all session variables without
having to specify each one?
2. How can I see the actual SQL that is being pass... more >>
ASP.NET Outlook Calendar
Posted by brianmichaelbrown NO[at]SPAM gmail.com at 10/20/2006 2:58:24 PM
I'm creating a Intranet page where Managers can post events and
employees can register for the event, we'd like it to automatically
place it in their Outlook Calendar as a reminder.
Is this possible? And are there any links, tutorials etc. out their?
Thanks in advance.
... more >>
date format question
Posted by ArtySin at 10/20/2006 2:16:02 PM
I have a problem trying to get a date format of dd/mm to appear in my web
page from a sql server database table. Various sites state that you can use
the{0:dd/mm/yyyy} format which works fine as does {0:d} for a result of '20
Oct' but {0:dd/mm} returns the day but only '00' for the month. Any... more >>
menu / sitemap
Posted by JP.Gantlin at 10/20/2006 1:23:23 PM
how do i get the menu to start at a particular directory as defined in the
sitemap,
rather than showing the whole sitemaop?
... more >>
ASP.NET Email
Posted by gary7 at 10/20/2006 12:49:27 PM
Hi folks, I would like visitors to my web site to be able to send
email directly to me, but I would like to do this without the visitors
default client openning seperately from the web site. I'm not sure how
to set this up so that they don't have to be redirected to their own
client (such as Ou... more >>
How GMail works ?!?
Posted by Can Uzun at 10/20/2006 12:48:48 PM
Hi;
sorry if this is a re-post.
My question is basically this...
When you receive an email and you already have a GMail page open, it
shows you the new mail without refreshing (or it does that at
background), now my question is this; i am sure my browser is not
querying GMail every second... more >>
Returning to Default.aspx after downloading file.
Posted by maglev_now NO[at]SPAM yahoo.com at 10/20/2006 12:47:15 PM
After the user downloads a file from filedownload.aspx I am unable to get
them back to the default page for my site. Any suggestions?
code from filedownload.aspx
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim filename As S... more >>
VS 05 noob: Where is my Bin directory?
Posted by A Programmer at 10/20/2006 11:36:02 AM
Ok, we have just delved full force in to VS 05 and I am fairly comfortable
with the layout. But I think I have run into my first gotcha.
I setup a web application doesn't produce a /bin with a compiled DLL for the
site.
I looked in the prop pages and there seems to be a way of manually creat... more >>
Read in XML file, output to screen...
Posted by CDZ at 10/20/2006 10:46:42 AM
This seems simple enough, Read an XML file, output it to the screen.
Yes, I know that doesn't make sense but here's why I need it:
I have a sharepoint list that I'm viewing the XML from, the URL is LONG
and ugly, it comes from a .dll file. Ex:
http://domain/site/_vti_bin/owssvr.dll?Cmd=Display... more >>
controlling output state of checkbox using ASP.net and SQL server05
Posted by aspnoob at 10/20/2006 10:39:14 AM
hello i just started off with asp.net , needed some help on how to display
the state of checkboxes from a SQL database.
my database table has the following format
seat.dbo ( db design)
( column 1 PK ) id : 1 2 3 4 5 6
(column 2 boolean) state : 1 , 0 , 1 , 0 , 1 , 0
1 s... more >>
How to use static function in web service?
Posted by Mark Ingram at 10/20/2006 10:26:44 AM
Hi, how can I use a static function in a web service from a C# app?
I have the following code in a web service:
public class MyClass
{
[WebMethod]
public static Boolean Exists(String check)
{
return false;
}
}
Then in the C# app I try to use the web service:
MyClass.Exis... more >>
ShowModal postback in IE7.0
Posted by Bibi at 10/20/2006 10:09:26 AM
Please,
i'm getting a problem to do a postback inside a showmodal webpage. I'm using
the tips that works perfectly at IE 6.0 (a tag base=_self, or something
like this), but at IE 7.0 it does not work.
When postback, it opens a new page and redirec to a my index page (that is
outside the a... more >>
Image Control not refreshing
Posted by Mark Denardo at 10/20/2006 10:04:53 AM
I created a Web Image "<asp:Image ID="Image1" ..." that my code behind set
to a certain image file say image1.jpg
=> Image1.ImageUrl = "<rel_path>/image1.jpg";
which set the image ok, but then I replaced that image file with another
image file and gave it the same name "image1.jpg". But m... more >>
Assembly Information
Posted by shapper at 10/20/2006 9:56:32 AM
Hello,
I want to create a very simple control which displays the assembly name
and version of the DLL where the control is inserted.
Could somebody tell me how can I access the name and version from my
control class?
Thanks,
Miguel
... more >>
Why does build go to temp folder?
Posted by brett at 10/20/2006 8:16:17 AM
When I build my project, the DLL goes into
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\102006\30f01177\e8169329\assembly\dl3\72d6e433\58abb7ce_4ff4c601\mywebsite.DLL.
The website runs fine on my local machine but when I upload files to
the server, I get this error:
... more >>
Why is cache disappearing?
Posted by Harry Keck at 10/20/2006 8:03:02 AM
I have an application that I recently converted to 2.0 from 1.1. This
application is relying on data stored at HttpContext.Current.Cache. When I
run in 1.1 the data stays available in the cache, but when I run the 2.0
converted application, once I change pages, the cache is emptied. Is this... more >>
ASP OLE Import of access files with named areas : formules in column title
Posted by The_Fakir_42 at 10/20/2006 7:33:19 AM
Hi,
I have a very tricky problem...
I import an XLS file from my asp web application; this xls file
contains lots of single-cell named areas.
Usually, I know how to get them, this way :
' Create temporary dataset
Dim ds As New DataSet
' Get the nammed area
Dim myData As New OleDbDataAd... more >>
Is relative path in Web.Config possible?
Posted by JamesPaulHart NO[at]SPAM gmail.com at 10/20/2006 7:20:27 AM
Howdy!
I'm following the Microsoft article
http://msdn2.microsoft.com/en-us/library/ms228042.aspx to add Version
info to my precompiled dlls.
Essentially, it states that I modify my Web.Config file by adding a
<CodeDom> element that points to the location of my AssemblyInfo.Cs
file. So fa... more >>
datatsource depending on other datasource (in datacontrol)
Posted by tarscher NO[at]SPAM gmail.com at 10/20/2006 7:08:12 AM
Hi all,
I have a list containing objects. Each object also contains a list of
objects.
e.g.:
A1: B1 - B2 - B3
A2: B1 - B2 - B3 - B4
A3: B1 - B2 -
A4: B1 - B2 - B3
I want to use a datacontrol (repeater, datagrid, ..) to display the
datasource (A) and the list inside the A datasource. Wha... more >>
Custom Control. How to start?
Posted by shapper at 10/20/2006 6:49:41 AM
Hello,
I am starting to create various custom controls for Asp.Net 2.0 and I
am using Visual Studio 2005.
I have a few questions:
1. Should I use the Web Site or Project Model?
I believe Project Model allows me to embed the resources (images,
css files, etc) into my DLL.
Maybe t... more >>
Html tags vs web server tag controls
Posted by greatdane at 10/20/2006 5:49:08 AM
I have written a web form and in it I have asp:datagrid, asp:textboxes
I do no have a <table> nor <td> nor <tr>. However, I have used the style
tag withing the asp:textboxe properties to align the controls.
The form looks great in the browser. I have been told that I need the html
controls... more >>
xml and asp.net
Posted by bill at 10/20/2006 4:53:03 AM
Hi All, I posted this originally to an xml group and got no response.
Hoping someone here has some insight.
New to asp.net here. Been combing google since monday trying to
find the right solution. Most of the solutions are good and reflect the
same examples in the .net books I have but xml i... more >>
passing data between pages and querying a database in asp.net
Posted by roo at 10/20/2006 2:18:29 AM
Hello all.
I am new to asp.net so am writing for some advice. I want to transfer
data from a web form containing drop down lists and text boxes, saving
the user input, and then use this user input to query a database and
return the results on a second form. So the user input will be added
to ... more >>
Catch events in global.asax
Posted by Smash at 10/20/2006 1:54:06 AM
Is it possible to get information about page events in global.asax, so
i can log everything user does at page request event?
... more >>
learning about .net
Posted by littleflame at 10/20/2006 1:44:58 AM
Hello all,
May I know something about learning?I want to know learning in Visual
Basic .Net framework.How can I improve my programming experience.Which
websit is good for programming learning in VB.net and free traning
because I am poor.
I hope all of you will reply,
little flame
... more >>
learning about .net
Posted by littleflame at 10/20/2006 1:42:45 AM
Hello all,
May I know something about learning?I want to know learning in Visual
Basic .Net framework.How can I improve my programming experience.Which
websit is good for programming learning in VB.net and free traning
because I am poor.
I hope all of you will reply,
little flame
... more >>
deploy asp.net in windows 95/98 ?
Posted by vinothkumar22 NO[at]SPAM gmail.com at 10/20/2006 12:33:28 AM
Hi all,
Please answer my question
Can i deploy asp.net in windows 95/98 ? will it execute there ?
Vino
... more >>
|