all groups > asp.net > february 2007 > threads for sunday february 25
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
Bizarre literal.text error
Posted by Neo Geshel at 2/25/2007 11:02:06 PM
Just moved to C# from VB.NET, frustrated to hell and back by inability=20
to get much-copied (from about 20+ different resources) literal example=20
to work.
Master Page content:
<meta name=3D"keywords" content=3D"<asp:Literal ID=3D"ltrlKeywords"=20
Runat=3D"server" />"></meta>
Code-Behi... more >>
Refresh image
Posted by nuhura01 NO[at]SPAM yahoo.com at 2/25/2007 10:52:05 PM
Hi..
I have a button to preview image using the following code, which
preview the image in html page:
Dim oStringWriter As System.IO.StringWriter = New
System.IO.StringWriter
Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New
System.Web.UI.HtmlTextWriter(oStringWriter)
Me.ClearCo... more >>
[menuitem] space between image and text, how???
Posted by Jeff at 2/25/2007 7:09:57 PM
ASP.NET 2.0
I have a menu on a webpage. These menuitems are specified in a .sitemap
file. These menuitems have ImageUrl set with a link to a image.
The menuitems look like this:
[image][title]
The problem is that I want some space between [image] and [title]
I've tryed using text-inde... more >>
doPostBack causing a crash in IE7
Posted by Manash Sahoo at 2/25/2007 6:40:00 PM
Anyone experience this?
I am doing a "__doPostBack('','');" in javascript. The postback does occur
on the server side as I have verified this in debug mode. However, when the
response is sent back, IE7 crashes.
I am using ASP.NET 1.1 for this application. Curiously, the application
wo... more >>
is it possible to have IN in a if-statement?
Posted by Jeff at 2/25/2007 5:22:24 PM
ASP.NET 2.0
This code gives me compile error:
if (menuitem.Text in {"Inbox", "Outbox" })
{
e.Item.Parent.ChildItems.Remove(e.Item);
}
Instead I could just have written the code below, but I think maybe using IN
is better..
if (menuitem.Text == "Inbox" || menuitem.Text == "Outbox" )
... more >>
Problem with Repeater.ItemIndex
Posted by Brad Baker at 2/25/2007 4:25:40 PM
I am trying to make a "tabbed" interface by iterating through a dataset with
a conditional statement. For example:
----------------------------------------------------------------------------------------------------------------------
| <a href="config.aspx?siteid=FIEJGIE">Site 1</a> | Site 2 ... more >>
ASP.NET Membership tables dissappear when db is attached to a different sql server instance.
Posted by keith at 2/25/2007 4:23:22 PM
A SQL Server 2005 (developer edition) database contains both application
data tables and ASP.NET membership tables and stored procedures and runs
without error on computer A. When the database is detached, copied to
computer B, and re-attached, the ASP.NET membership tables and stored
procedures... more >>
ISP path to web site files contains IP address causing an error. Please help
Posted by keith at 2/25/2007 3:42:41 PM
Running on localhost, the code,
'DirectoryInfo d = new
DirectoryInfo(System.Web.HttpContext.Current.Server.MapPath("~/Upload"));'
sets d to the value "c:\happyzoomer\upload"
When the application runs under a web hosting account, it sets d to:
'D:\websites\69.20.101.123\happyzoomer.com\Uplo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
change current object in asp.net?
Posted by Nick at 2/25/2007 3:40:08 PM
Hi all,
i have a webpage with a button and click button to generate a word
document, which take about 10 second. so what i am trying to do is i write a
javascript to display a message to indicate once the document has been
generated completed.
The problem i got is because the current obje... more >>
XML and XSL translation
Posted by David at 2/25/2007 3:28:31 PM
Hi,
I am trying to do an XML translation. I have not done much with XML apart
from generating a few RSS feeds or saving from datasets.
I have found numerous example on the net about it, all of them very similar.
However, when I use them, they go into response.output rather than a label
or l... more >>
Disabling button until page loaded
Posted by Chris at 2/25/2007 3:28:24 PM
Can anyone recomend the best way of disabling a button a page until it is
fully loaded? Would it need to be done with Javacript?
... more >>
Invalid postback or callback argument
Posted by Chris at 2/25/2007 2:47:23 PM
Hi I intermittantly get this error on a ASP.net 2.0 page - Invalid postback
or callback argument - I want to check my understanding of this error as it
is really badly documented. If any of you guys can verify and offer advice
that would be great.
This error occurs when EnableEventValidati... more >>
Strange problem and I'm stuck
Posted by GeezerButler at 2/25/2007 2:28:56 PM
I'm trying to implement a control designer for my web composite
control.
According to what i read at msdn, i am supposed to inherit my class
from System.Web.UI.Design.ControlDesigner.
Now, in my code when i try to write this:
public class MyDesigner : System.Web.UI.Design.ControlDesigner
i g... more >>
Regex - Numbers
Posted by shapper at 2/25/2007 1:45:10 PM
Hello,
I need to create a REGEX which accepts only phone numbers.
The phone numbers start allways with 261, 21, 96 or 91 and have 7
numbers after it.
Something like. 261 1223346, 21 2334456, etc.
How can I do this?
Thanks,
Miguel
... more >>
pdf and djvu
Posted by Aleks Kleyn at 2/25/2007 1:28:31 PM
I use asp.net in windows vista. IIS7 is setup there.
In small application I want to display pdf or djvu files. When I click link
to pdf file I do not have any problem. When I click djvu file I get responce
HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served be... more >>
Looking for ASP.NET book
Posted by Joe Penora at 2/25/2007 1:16:34 PM
Hi All,
Could you please recommnend of an ASP.NET book that will cover all aspects.
Such as handling parameters from one page to another and much more...
Thanks.
Joe
... more >>
poor performance against Oracle DB on specific machine
Posted by yoram.ayalon NO[at]SPAM structuredweb.com at 2/25/2007 1:09:56 PM
we are deploying a ASP.NET 2.0 web application (written in vb.net) to
a windows Server 2003 web edition in which .NET framework 2.0 has been
instaled. the application connects to an Oracle 9i database, and uses
system.date.oracleclient
our development machine windows runs XP, has VS 2005 ins... more >>
how do I do cookies?
Posted by Neil at 2/25/2007 12:17:03 PM
Hi,
Although an experienced ASP programmer, I can't work out how to do cookies
in ASP.NET
I need (for instance) to set a cookie for a UserID once a client has logged
on to my site, so that other pages can check this as and when required.
I imagine that there are other ways of doing this... more >>
Design question
Posted by Andrew Robinson at 2/25/2007 12:14:20 PM
I am working on a large (for me) ASP.NET project that contains about 100 SQL
tables on the back end. We built a set of "entity" objects and service
provider objects to access our data with one entity and a corresponding
service provider for each table. Most of these are code generated and the ... more >>
Help me to fix External . js problem in asp.net
Posted by althafexcel NO[at]SPAM gmail.com at 2/25/2007 11:21:10 AM
hi everyone
Im trying to include an external js in my aspx page under the head
tag, it doesn't load or it displays an object expected error whenver
the function from the .js is called. Actually for repeated html im
using the external js, i mean the TOP, BOTTOM they are repeated in
every page,... more >>
try to handle openfiledialog in my web page
Posted by Monica at 2/25/2007 10:19:02 AM
Hi
1- I want to pick a file in my website project using asp.net
2- I added System.Windows.Forms by add references to my project.
3- I attach a button to my project.
4- in side Button1_Click(object sender, EventArgs e) I wrote:
OpenFileDialog filedlg = new OpenFileDialog();
fi... more >>
Deploy of a web application
Posted by Daniela Roman at 2/25/2007 10:14:52 AM
To deploy a simple web application what type of files do I need to copy
over?
I want to use a simple copy.
Thanks
... more >>
Bind Repeater. What am I doing wrong?
Posted by shapper at 2/25/2007 7:56:48 AM
Hello,
I am binding a Repeater as follows:
Private Sub rFeedback_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles rFeedback.Load
If Not Page.IsPostBack Then
rFeedback.DataSource = "rFeedback_DataSource"
rFeedback.DataBind()
End If
End Sub ' rFeedback_Load... more >>
change default file extentions in FileUpload Control
Posted by Monica at 2/25/2007 7:49:05 AM
Hi,
I want when I click on Browse button (FileUpload Control), I see just image
extensions not anything else.
How can I do this?
Thanks,
Monica... more >>
Property problem. Please, need some help on this.
Posted by shapper at 2/25/2007 6:27:06 AM
Hello,
I created a user control (.ascx) with a property as follows:
Private _Messages As Generic.List(Of String)
Public Property Messages() As Generic.List(Of String)
Get
Return _Messages
End Get
Set(ByVal value As Generic.List(Of String))
_Messa... more >>
GridView INSERT Edit DELETE with no PK problem
Posted by Oded Dror at 2/25/2007 6:10:57 AM
Hi there,
I'm using VWD 2005 Express and SQL Server 2005 Express
When I have a table with Primary key ASP.NET let you add INSERT EDIT and
DELETE button to the GridView
But when you don't have PK you can not
My question how to add the EDIT INSERT Buttons to the GridView without
having ... more >>
Strange Error
Posted by ^MisterJingo^ at 2/25/2007 5:36:36 AM
Hi all,
I've built the login mechanism and associated session states for a
website. it runs absolutely perfectly through localhost on the inbuilt
server, but once I upload it to my providers site, I get a series of
very strange errors which totally break the site.
When a user logs in, I set s... more >>
question about public function
Posted by Gilbert at 2/25/2007 12:34:08 AM
Hi,
In the code-behind, i have this function:
Public Function myfunction(ByVal myvar As Object) As String
dim x as string = myvar
.....
Return x
End Function
My question is: can i use this function in other aspx / code-behind pages of
my application? Or, till where is this ... more >>
Combo/Dropdown box among other field
Posted by SF at 2/25/2007 12:00:00 AM
Hi,
I am new to ASP.NET. I have started to create a new ASP.NET web. I can
succesfully insert a table into a form but my form does not look good
becuase some filed (from table) are foreigh key that link to other table to
lookup for information and it is displaying only number. I want to cha... more >>
ReportViewer export to PDF = PDF[1].
Posted by Richard Coltrane at 2/25/2007 12:00:00 AM
Hi there,
I have the web version of the report viewer control stuffed into a webpage.
Everything works great except for the export to pdf option. When i choose
this option the document type is set to .pdf[1] instead of .pdf. Of course
when saved to the harddisk the file name is then "mypdfd... more >>
How may I implement this functionality using ASP.Net ?
Posted by Bit Byte at 2/25/2007 12:00:00 AM
I have an existing application which consists of a C++ frontend, and a
PHP backend. I am currently contemplating moving from PHP to ASP.Net at
the server side. At the server side, I have code somewhat like this:
<?
// function definitions here ...
$enc_str = base64_decode($_POST['request'... more >>
|