all groups > asp.net > april 2007 > threads for wednesday april 18
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
Loading flash content into a web page
Posted by Tor Inge Rislaa at 4/18/2007 10:46:07 PM
I would like to load a flash file dynamicaly into my web page by using VB
code. Is it possible to write a VB code to achieve the same as the HTML code
below.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/s... more >>
code for saving user's email addresses - newbie
Posted by slinky at 4/18/2007 9:45:59 PM
Thanks in advance.. I'm using VB.net/ASP.net - Does anyone know how on
my .aspx page to have a field accept a user's email ( to receive my
newsletter) with of course a submit button. I would prefer to have it
save specifically to an XML file already set up on the server just for
this. So my code... more >>
Create Nested DataGrid
Posted by rn5a NO[at]SPAM rediffmail.com at 4/18/2007 9:38:18 PM
Can someone please link me to some articles or show some e.g. on how
to embed a DataGrid inside another DataGrid (child DataGrid within a
parent DataGrid)?
I have Googled on this topic but most of the links point to articles
that show how to embed a DataGrid within a DataList or embed other
s... more >>
Individual FormID on a web content page ?
Posted by Just Me at 4/18/2007 8:42:52 PM
If I want to set the form ID on a web content page, how can I do it ?
Cheers
... more >>
Avoid MasterPage to refresh
Posted by Tor Inge Rislaa at 4/18/2007 8:11:49 PM
I have a MasterPage containing a TreeView menu. When clicking a menu item, a
page is loaded into the ContentPlaceHolder. It seems like both the
MasterPage and the page in the ContentPlaceHolder is refreshed when clicking
the menu item. That might be how it is supposed to be, but the proble... more >>
cascadingdropdown method error 500
Posted by Mauro SB. at 4/18/2007 6:21:12 PM
Helo
I get method error 500 , in an ajax cascading dropdown,
the web service asociated, sems to right, because it returns the values =
when i callit outside the dropdown,
what else can be?
--=20
Mauro
MCTS - SQL Server 2005... more >>
Value cannot be null;Parameter name: passwordAnswer
Posted by Ben at 4/18/2007 5:22:09 PM
Hi,
i try to get the password of the membershipuser that is just created in
ASPNETDB.MDF (i checked it) with CreateUserWizard.
I tried with "Clear" and with "Encrypted" (with generating a machinekey)
passwordFormat.
The property enablePasswordRetrieval="true".
The CreateUserWizard page r... more >>
custom validator and ajax
Posted by Jeremy at 4/18/2007 5:00:44 PM
How would I go about using a custom validator to make a server side call
using ajax?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to access UNC from ASP.NET application?
Posted by Speech Lover at 4/18/2007 4:56:16 PM
I have problem writing content to a UNC file from my ASP.NET 1.1
application. This is on Windows server 2003
The event log says "X:\temp\abc.txt path not found" and stuff.
Note that I have allowed Full Control permission on abc.txt on the other
machine.
any idea?
thanks,
Vince
... more >>
A Version # in a website in .Net 2.0.
Posted by Mufasa at 4/18/2007 3:32:52 PM
Is there any way to get a version number of a web site? I used
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString()
in 1.1 and it seemed to return a version number. When I do that in 2.0, it
always returns 1.0.0.0. The version # isn't really important, I just want
... more >>
Converting ASP 1.1 to 2.0
Posted by Karim mohamed at 4/18/2007 2:12:44 PM
Hello,
When I try to convert a web project from ASP 1.1 to 2.0 throught the Visual
Studio 2005 , the conversion is complete with some errors, when i run the
project after conversion , I find that the events are not triggered at all
as if the objects don't see their events at all , intellise... more >>
Store web.config value in SQL table
Posted by jack at 4/18/2007 2:09:54 PM
I have an application wide configuration setting (pages theme) that
is
dynamic. Normally when you think of picking themes you think of the
user selecting a theme (a per-user setting). In this case, though, I
want the site owner to be able to select a theme that will be applied
to the entire si... more >>
Question on Best Practices for ASP.Net forms
Posted by Bill Gower at 4/18/2007 12:49:32 PM
I have a list form where users can see a list of something, members,
customers, invoices etc. When the user clicks on a button labeled 'New' or
'Edit' and wants to either add a new item to the list or edit an existing
item in a list, is it better to pop up a form and have them fill it in or
... more >>
app.config
Posted by JonMYates NO[at]SPAM gmail.com at 4/18/2007 12:39:04 PM
Hello all,
I have a web application that references a number of dll's that I have
included in my solution. I'm writing a dll that I will use to send out
mails (mailer.dll). I'd like to keep this fully encapsulated and so
I've put the smtp etc details in the projects app.config, however,
from ... more >>
Debugging in vs 2003 behaviour
Posted by vogt NO[at]SPAM mvi.de at 4/18/2007 12:28:02 PM
Hello,
since this week I have a problem debugging string named local (bin
folder) assemblies in a dll project which is actual my web project in
VS 2003.
The lines displayed while debugging do not correspond to the current
executed lines, exceptions in catch blocks are empty (no text in watc... more >>
Why Doesn't This Work?
Posted by Joey at 4/18/2007 12:09:20 PM
I am working on an asp.net 1.1 web app in C#. I downloaded some sample
code that is supposed to allow for me to persist session state. The
code is as follows:
private void PersistSessionState()
{
int MilliSecondsTimeOut = (this.Session.Timeout * 60000) - 30000;
string Script = @"
<scri... more >>
Problem displaying binary (pdf) content in IIS7
Posted by Brad at 4/18/2007 11:31:53 AM
I have a .net 2.0 web application project that creates a pdf file, saves the pdf to disk (crystal reports does this
part), and
then my code reads the pdf file and writes it to the httpresponse The web app works great on win2003 and xp and the end
result is a pdf file is displayed in the brows... more >>
DataItem in last row of Repeater data not being formatted
Posted by John Kotuby at 4/18/2007 10:10:50 AM
Hi all,
Thanks in advance for any suggestions...
I am using a repeater to display the contents of a DataTable which is bound
to it. All the rows in the table are being displayed. In the OnItemDataBound
event controller in the Code Behind I am formatting the fields returned from
the SQL s... more >>
Localization and Potentially Dangerous Request.Form Values
Posted by djmc at 4/18/2007 9:53:40 AM
Using the asp.net button control (and I assume others), I place the phrase
"Don't Save" in the .Text field. The button displays without any problems,
but upon postback, the server responds with "A potentially dangerous
Request.Form value was detected". I've determined this problem is due to ... more >>
Trouble With Session State
Posted by Joey at 4/18/2007 9:42:36 AM
Hello,
I am having trouble with session state in my asp.net 1.1 C# web app. I
am trying to program either a popup box warning of expiration, or I
may do a redirect to the home page upon expiration.
But I can't seem to get started, because I am getting values that I do
not understand. In IIS... more >>
Prevent ObjectDataSource/GridView from DataBinding
Posted by richardl NO[at]SPAM conceptsearching.com at 4/18/2007 9:36:24 AM
I am creating an interface that has a number of ObjectDataSources and
GridViews in UpdatePanels.
The data being sent to the gridviews in quite large (search results,
etc..) and therefore each gridview load can take 3 or 4 seconds.
Therefore, I have set the UpdatePanels mode to be conditional... more >>
How can I make a table1.visible = false?
Posted by trint at 4/18/2007 9:27:29 AM
I named my table with F4 (properties) and it doesn't seem to be
recognized in my project.
How can I make it NOT visible under certain conditions?
Thanks,
Trint
... more >>
.net technical architects URGENT REQUIREMENT
Posted by templesystems NO[at]SPAM gmail.com at 4/18/2007 8:05:40 AM
Urgent opening:
1+ yr contracts, Minneapolis, MN
.Net Technical Architects (C#, VS, VB, SQL). Must be Architects,
not designers or developers.
Multiple openings
Submit your resumes along with the desired sal range ASAP to
templesystems@gmail.com
... more >>
Different Tooltip for each Item in dropdownlist using ASP.NEt with
Posted by Padam at 4/18/2007 7:54:04 AM
How to get different tooltip for each listitem in dropdownlist in ASP.NET
with C#. I am binding dropdownlist using database. Ofcourse each item in
dropdownlist will be different.
kindly do help me.... more >>
I need to change a GridView image file path programmatically...
Posted by trint at 4/18/2007 7:39:42 AM
I have this in my aspx file (using c#):
<asp:ImageButton ID="Imagebutton1" runat="server" alt='<%# Eval
( "name" ) %>' CommandName="select"
ImageUrl='<%#
Eval ( "image_file_name", "~/images/categories/{0}" ) %>' Width="50%" /
>
Sometime... more >>
AJAX and webprojects?
Posted by Jakob Lithner at 4/18/2007 7:24:02 AM
I have a solution with four webprojects developed in Visual Studio 2003.
It is upgraded to Visual Studio Team System 2005 / Framework 2.0.
Now I tried to AJAX enable one of the web projects.
1) I installed AJAX and did a demo based on Scotts ToDo demo application. It
worked fine.
2) Then I... more >>
Session Not Maintaing State
Posted by rn5a NO[at]SPAM rediffmail.com at 4/18/2007 6:59:20 AM
A ASPX Form has a TextBox & a Button. Users enter their username in
the TextBox & submit the Form after which records pertaining to the
username get retrieved from a MS-Access database table & displayed in
a DataGrid. The DataGrid also provides pagination.
Sub Page_Load(......)
If Not(Pag... more >>
the label control in asp.net 2.0
Posted by darren at 4/18/2007 6:48:08 AM
how do i autosize the width of a label to the width of the text field?
... more >>
"SendUsing" configuration value is invalid.
Posted by samarthkumar84 NO[at]SPAM gmail.com at 4/18/2007 6:18:49 AM
Hi
I had used following code for sending e-mail but facing this problem.
I want to send this e-mail in ASP.NET using VB.NET code. I am
attaching both code an output.
CODE
Imports System.Web.HttpCookie
Imports System.Web.Mail
Imports System.Web.M... more >>
GridView Update doesn't update on first postback
Posted by Evan M. at 4/18/2007 6:07:05 AM
Here's my GridView and my SqlDataSource
<asp:GridView ID="ContactHistoryGrid" runat="server"
AutoGenerateColumns="False" DataSourceID="ContactHistoryDS"
DataKeyNames="JobHistoryID"
OnRowCreated="ContactHistoryGrid_RowCreated"
CssClass="GridViewTable"
GridLines="None" CellSpacing="1" Ce... more >>
Cannot set timeout with asp.net 1.1 over than 20 minutes
Posted by Masso at 4/18/2007 5:40:24 AM
Hallo to the group,
my question is this: where i have to set timeout in a web application?
If i set into sessionState with property Timeout="60", after 20
minutes the session is over. Always after 20 minutes, i cannot set a
timeout greater than 20 minutes.
Our configuration is the following... more >>
Is SQLExpress binaries required on server for forms authentication to work?
Posted by CoderX at 4/18/2007 4:44:15 AM
Hello:
I am working on an ASP.NET 2.0 web app that uses forms authentication
with the ASPNETDB.mdf in the APP_Data folder. When I deploy it to my
test server, I get the following error:
"An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005,... more >>
Ajax.net and javascript
Posted by rony_16 at 4/18/2007 4:37:54 AM
hi,
i have a question for you all.
i am using Ajax.net in my app.
in my app i am using formautorizetion.
when i have a one window and i open anouther one (by pressing a
button),
when the session or formautorizetion timeout is over i want to close
the new window and open a login page in the m... more >>
setting session variable from javascript on a .html file
Posted by Zeba at 4/18/2007 4:36:19 AM
Hi!
I have an application in which a user searches for a particular item
as - He enteres the keyword in home.html and views the results in
searchresults.aspx.I want to uniquely identify the search based on the
timestamp+keyword. The keywork i can get from the URL. But is there
any way for me... more >>
session id
Posted by bushi at 4/18/2007 4:05:45 AM
hi everyone!
i have a web application,i want to get unique session
id for each visitor.session id should not assigned by me like:
session["s_id"]=index;
is it possible to assign a session id automatically when a client
visit my webpage?i will wait 4 any help anxiously as i got s... more >>
s
Posted by bushi at 4/18/2007 4:05:04 AM
hi everyone!
i have a web application,i want to get unique session
id for each visitor.session id should not assigned by me like:
session["s_id"]=index;
is it possible to assign a session id automatically when a client
visit my webpage?i will wait 4 any help anxiously as i got s... more >>
how can i count checked check box in checkboxlist by java script? hlp me
Posted by haresh.amis NO[at]SPAM gmail.com at 4/18/2007 3:43:39 AM
hello to all,
I m using .net 2.0 and i face a problem that is as under
Well I have a checkboxlist which i bound in .cs page
now I want to count that how many checkboxes ate checked ( In
javascript ) and
checked checkboxes text will be concat and that string will be pass on
to report query
... more >>
Hide URL (querystring)
Posted by Alhambra Eidos Kiquenet at 4/18/2007 2:26:00 AM
Hello to all,
I have a page ASPX that calls to another one.
It does window.open to another URL, and I want to hide the URL because the
user not must see the querystring by security subjects.
I discard properties of window.open (javascript) because the url can be
displayed by contex... more >>
GridView column text wrap width
Posted by AD at 4/18/2007 2:25:54 AM
Hi,
I have a problem where my text in a GridView column is being wrapped
in the middle of the column and does not fill the full width of the
column, any idea why this would happen, and how I can control it?
Thanks
... more >>
Validators not preventing postbacks
Posted by AD at 4/18/2007 12:53:13 AM
Hi,
I have 2 different web pages, both using RequiredFieldValidator's, on
the one page Postbacks are prevented when required fields are blank,
on the other page the validators display the error messages after the
postback has returned, but neither the client side, nor the server
side processi... more >>
how to change one element of machine.config into web.config?
Posted by Dan at 4/18/2007 12:00:00 AM
H,
i want to use for one specific application the default membership provider
as defined by default in machine.config, except one element: i want to use
requiresUniqueEmail="false" instead of the default configuration in
machine.config (which is set on "true").
So i did this in the web.c... more >>
session data lost
Posted by luke at 4/18/2007 12:00:00 AM
Hi
I got the problem of lost session data when it operates in external network
(via internet), but it has not problem within the internal network.
Any helps will be appreciated.
Thanks,
Luke
... more >>
|