all groups > asp.net > june 2005 > threads for saturday june 11
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
Handling an IFrame at source code.
Posted by craigkenisston NO[at]SPAM hotmail.com at 6/11/2005 11:34:25 PM
I have an iFrame which I turn on and off at code behind using its
Visible property.
However, now I do more complicate things and I realize it is a generic
html control
I'm looking in the HTML Server controls in the help, but I don't see
anything like an HTML server control for an IFrame.
How... more >>
Getting data from tables in a Word document...
Posted by Stu at 6/11/2005 9:23:39 PM
Hi,
I am trying to extract the values from a few specific fields in a word
document from VB. I have now opened the doc and can loop through all the
paragraphs...but none of the tables are listed.
Is there any way of getting the value from, say, the 3rd table, 2nd row, 1st
column.
Any ... more >>
an old geezer running visual studio for the first time
Posted by TB at 6/11/2005 7:49:03 PM
Hi all:
If you think that the following comments are absolute amateurish, then
please bear with me, or simply skip this thread.
A couple of months back I made the decision to initiate a gradual upgrade of
my web programming skills from Classic ASP / VBS to ASP.NET / VB.NET.
While the st... more >>
Server.GetLastError
Posted by hansiman at 6/11/2005 7:35:15 PM
In my web.config I have:
<customErrors defaultRedirect="/error.aspx" mode="On">
in error.aspx I try to get the last error and do something with it:
Dim ex As Exception = Server.GetLastError
I get Nothing (ex = Nothing)
Is the reason for ex = Nothing that Server.GetLastError only gets
... more >>
Can I use "Session" inside a user control ?
Posted by craigkenisston NO[at]SPAM hotmail.com at 6/11/2005 7:07:59 PM
I'm creating a paging control in which I want to use a session saved
dataview :
public class PagingControl : System.Web.UI.UserControl
....
....
public void whatever
DataView dw;
if (Session["Results"] != null)
{
dw = (DataView)Session["Results"];
}
else
{
return;
}
At the... more >>
Menu Control
Posted by Mark Parter at 6/11/2005 3:56:02 PM
I have a master page which contains a Menu control and a SiteMapPath control,
both are bound to the same web.sitemap XML file. Say I have 2 pages, Page 1
and Page 2. Now Page 2 can only be accessed after selecting some information
on Page 1 (using a CrossPagePostback). When the user get's to P... more >>
Sending email from ASP.NET application.
Posted by levon at 6/11/2005 3:24:28 PM
I'm trying to decide on how to send email from my asp.net web application.
I know that I am able to do it with System.Web.Mail with this code:
private void sendEmail()
{
MailMessage objMM = new MailMessage();
objMM.To = "... more >>
Web config question
Posted by Rudy at 6/11/2005 1:26:02 PM
Hello all!
I'm using form Authintication on my web app. It works fine fo my app fine,
but when I go to the second app, it doesn'y work. The second app is in a
virtual directory. Now if I give permision in the web config like
<location path="app2/logon.aspx">
<system.web>
<authorization>
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Media Center any good?
Posted by G Dean Blake at 6/11/2005 12:12:10 PM
I just bought a new laptop to be used as my dev box but it came with Windows
Media Center. Does this have all of the features of xp pro such as IIS, and
other things required by asp.net developers or am I going to have to Install
Windows XP Pro?
Is there any list of what xp pro has that me... more >>
override default values in a constructor
Posted by TJS at 6/11/2005 12:10:42 PM
How can I override the default values, of a class constructor , from an
ASP.net page ?
Public Sub New( )
HeaderStyle.BackColor = ColorTranslator.FromHtml("#5C85AD")
HeaderStyle.ForeColor = Color.White
HeaderStyle.Font.Bold = True
End Sub
... more >>
question about the "Page Controller" pattern
Posted by cmay at 6/11/2005 9:10:53 AM
In reading some documents from the Patterns and Practices group, I had
a question about the example given for the Page Controller pattern.
(I have posted the code for the BasePage below)
In short, their example shows a "BasePage " class for other pages to
inherit from.
The subclasses are ... more >>
ValidationSummary
Posted by JJ_377 NO[at]SPAM hotmail.com at 6/11/2005 6:51:11 AM
How can I control the order of items presented in the ASP.NET control,
Validation Summary?
I tried to set the TabIndex properties of the controls on the form in
the hope that the ValidationSummary would order the items based on
this...but it did not...Looked at MSDN...
Help please? And thank yo... more >>
To get the total no[count] of rows in a daatable with rowstate deleted
Posted by thomson at 6/11/2005 4:51:14 AM
Hi all,
i need to get the total count of rows in a datatable with
rowstate deleted.
Thanks in advance
thomson
... more >>
how to get application name and path programmatically
Posted by buran at 6/11/2005 12:00:00 AM
Dear ASP.NET Programmers,
How can I get the name of my application programmatically? Also the path of
the application. For instance, if my application is named "buran" and
located in c:\inetpub\wwwroot\buran directory, how can get them? Thanks in
advance,
Buran
... more >>
Strange Datagrid Update Problem
Posted by sosh NO[at]SPAM nospampls.com at 6/11/2005 12:00:00 AM
Hi,
I'm having a strange problem with the update function of a datagrid:
I have a datagrid, the first column lists item names from a database.
Second column is an EditCommandColumn, and then I have a couple of
button columns after that to deal with row deletes etc.
The problem is occuring... more >>
...is inaccessible due to its protection level. ?
Posted by Arjen at 6/11/2005 12:00:00 AM
Hi,
I have this inside a webusercontrol:
private string MenuItem = new string[2];
Inside the .ascx file I do this:
<%= MenuItem(0) %>
And I get this error:
....is inaccessible due to its protection level
I have changed private to public and even removed it... I always get the
same e... more >>
|