all groups > asp.net > april 2005 > threads for saturday april 23
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
[asp.net2] Masterpage und ContentPlaceHolder ausrichten
Posted by Sebastian Meier at 4/23/2005 11:06:34 PM
Hallo NG,
ich versuche gerade folgendes. ich möchte gerne eine masterpage unter
asp.net2 erstellen. soweit so gut. das problem was ich jetzt habe, dass ich
wenn ich mehrere
ContentPlaceHolder einfügen, ich weder die Größe noch die Position ändern
kann. Das heisst, dass man nicht zwei dieser C... more >>
datarows and session state
Posted by rodchar at 4/23/2005 10:23:02 PM
hey all,
i have 2 scenarios to run by you.
public class test
dim _entireRow as dataRow
public property mEntireRow as DataRow
'get and set _entireRow
public property mOneField as String
'get and set _entireRow.Field
end class
it seems to me in testing that if ... more >>
ITemplate, TemplateContainer questions
Posted by Steve Richter at 4/23/2005 8:45:58 PM
trying to understand how to support templates in server controls ...
a few quick questions on the following snippet of code pulled from a
server control class:
ITemplate _headingStyle;
[TemplateContainer(typeof(ICollectionLister2))]
public ITemplate HeadingStyle
{
get{ retu... more >>
Loadcontrol and viewstate question
Posted by John at 4/23/2005 8:15:02 PM
Hi all,
I am using dynamic user controls within my web app and these controls are
loaded into placeholders via the LoadControl method.
My problem is this:
I have usercontrolA loaded into a placholder and the user clicks on a
specific control outside of the usercontrol and some Javascript ... more >>
Passing databetween user controls
Posted by Dranreb at 4/23/2005 8:07:13 PM
Hello,
I use a template whereby my default page contains various user controls -
i.e. "Header", "Footer", "Navigation", "Content".
On some occaisions I'd like to manipulate the other controls from the
content control, without refreshing the default page. Currently, to change
the content I r... more >>
Long Page Load -- Lots of Data -- A problem
Posted by Harry Whitehouse at 4/23/2005 6:55:26 PM
Hi!
Today I coded a small ASPNET page which accepts a 5 digit ZIP code and will
return all the street names in that ZIP code. You can try it out here:
http://65.203.54.72/FindAddress/FindAddress.aspx
The server side reads a special USPS database and creates a Dataview which
in ... more >>
ASP.NET2.0: DAAB in beta2.0?
Posted by SK at 4/23/2005 6:13:16 PM
Hello,
I was using the data application blocks in the CTP
version. In CTP It worked for me. Now I upgraded to beta2
and I was wondering why I am getting the following error:
Could not load
type 'System.Data.ProviderBase.DbParameterBaseCollection'
from assembly 'System.Data, Version=2... more >>
StringBuilder
Posted by I am Sam at 4/23/2005 5:34:01 PM
I don't know why but in my stringbuilder. The string is cut off I set the
size but it is still missing part of the string.
Here is the codebehind:
public System.Text.StringBuilder BindData(System.DateTime SDate,
System.DateTime EDate)
{
string strEventSelect="SELECT EVNR_tbl.* FROM... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Managing an invalid cast exception
Posted by David at 4/23/2005 5:02:59 PM
Hi,
I have built a web application that will be a very high profile application.
We had tested it, demonstrated it and shown that it all works.
On a dress rehearsal run through, it failed spectacularly. I was so
embarrassed and felt like killing the person that made it fail. However,
whe... more >>
Can you create a folder in ASP.net?
Posted by Rudy at 4/23/2005 3:57:16 PM
Hello All!
Can you dynamicly create a folder in ASP.net? Here is the set up. I have a
folder where I will store pics. What I would like to do is create a cookie,
track the user who has logged on to the site. If user deside to upload
pictures under thier profile, a subfolder under the ima... more >>
HttpModule not working to mimic subdirectories, what to do then ?
Posted by craigkenisston NO[at]SPAM hotmail.com at 4/23/2005 3:46:45 PM
Hi,
I'm writing an HttpModule in order to replace the parameters in the
aspx pages to look like subdirectories.
i.e. instead of having :
myexample.com/default.aspx?category=cat1&subcat=cat2
I want to have :
myexample.com/cat1/cat2/
While I was testing the functionality of HttpModule I w... more >>
How to make control visible/invisible on mouseover.
Posted by Selden McCabe at 4/23/2005 1:42:52 PM
I have a form with a bunch of image buttons. When the user moves the mouse
over a button, I want to do two things: 1. change the Imagebutton's picture,
and 2. make another control visible.
I'm using the Imagebutton.Attributes.Add("onMouseOver","this.src =
'somepicture.jpg')
and that works... more >>
VB.NET Web Programmer in New York $40/hr
Posted by Reply NJ at 4/23/2005 12:45:24 PM
VB.NET Web Programmer in New York $40/hr
We are looking for someone to work as a VB.NET Web Developer. In this
role, you will design and develop application software for a successful
global corporation. You will also support and install software
applications. Additional duties are to participa... more >>
Please check code - need to make generic
Posted by Sandy at 4/23/2005 11:37:08 AM
Hello -
This code was snagged by me from the Internet and altered. Its purpose is
to check for swear words. It works the way it currently is, but I need it to
be more generic -- i.e., I don't want it to refer to TextBox1 or Label1
directly; I want to be able to plug in the name of any tex... more >>
Strange Role-Based authentication problem!
Posted by Archer at 4/23/2005 11:34:01 AM
I was making a role-based authentication but it does't login with
correct password.
the HttpContext.Current.User recieved in Global.asax is always null.
Request.IsAuthenticated is always false.
in the cs files, i write the code below
protected void SubmitBtn_Click(Object sender, EventArgs... more >>
Importing data from across the web? XML?
Posted by Roy at 4/23/2005 11:06:59 AM
Could someone point me in the right direction here?
The current method of importing new data into our db
goes something like this:
1.) txt files received via email
2.) employees clean data and save it in Access
3.) they import it into sql server using a dts package
It's a legacy process that... more >>
Two Select LinkButton's in DataGrid
Posted by George Durzi at 4/23/2005 10:38:09 AM
I have to LinkButtons in a DataGrid, and each of them has a Command="Select"
attribute set up.
When either of hte LinkButton's is clicked, I want the proper row in the
DataGrid to be selected, but I then want to do a different operation
depending on which LinkButton was clicked.
Here's som... more >>
Insert Server Control Into HTML String (via Literal) at runtime
Posted by Guadala Harry at 4/23/2005 10:26:00 AM
In an ASCX, I have a Literal control into which I inject a [string of HTML]
at runtime.
litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID);
This works great as long as the [string of HTML] contains just client-side
HTML, CSS, etc.
What I want to do is somehow insert ... more >>
Button causing page load
Posted by Selden McCabe at 4/23/2005 10:09:36 AM
I have an asp.net project with several pages.
On most pages, clicking a button fire's the button's click event, and the
page does not get reloaded unless something triggers a postback.
But on one page, when I click the button, the click event does not fire, and
the page gets reloaded (IsPost... more >>
VWD Express Beta 2 Install Problem
Posted by Chuck at 4/23/2005 9:47:17 AM
I'm trying to install VWD Express Beta 2, but it's telling me that I need to
uninstall MSDN Express Library 2005 Beta first. I uninstalled everything
using the Add/Remove Programs control panel applet, and the Express Library
is not showing up there.
I also ran Registry Medic to clean up an... more >>
Need your ideas.... (dynamic picture frame)
Posted by VB Programmer at 4/23/2005 9:18:15 AM
I am creating an online, interactive, art gallery using ASP.NET.
I want the user to be able to select (1) a frame type & size, (2) a matte
type & color and (3) a picture. I will then display what it would look like
together and they can purchase it online. It's kind of like an interactive
... more >>
Automatic formatting html
Posted by Kenneth P at 4/23/2005 8:20:02 AM
Hi there,
I have a placeholder, table, tr and td object in this way in an .aspx file
<asp:placeholder id=plhGrid Visible="False" Runat="server">
<table width="960" border="1">
<tr>
<td>
... some other stuff
</td>
</tr>
</table>
</asp:placeholder>
I've always been... more >>
Secure File Delivery in Web App problem...questions...
Posted by nullref at 4/23/2005 6:43:02 AM
Hello - I am not sure of the best way to solve this problem:
In my web app I need to delivery both static and dynamically generated files
to end-users. These files should not be accessable to users via "url
hacking". The files are of various file types (e.g. TXT; PDF; CSV; DOC;
ZIP; etc.... more >>
dropDownList behavior
Posted by Kenneth P at 4/23/2005 2:54:01 AM
Hi,
I discovered a weird behavior in DropDownList I didn't see before. When you
populate a dropdownlis either manually with <asp:Listitem... or by creating
an inline table and connect the table to the dropdownlist objects datasource
you'll end up with not seeing the first item in the object... more >>
How to Add new Item into DropDownList after DataBind with Database ?
Posted by Kylin at 4/23/2005 12:00:00 AM
Now,the dropdownlist is binded with a DataSet object,
go on ,
I want to add a new item into DropDownList,
and let the new item in the first Postion,
like this:
-- All items -- //which I add
kjkljljljlk //which come from datset
jkjljl
jkjkljl
jkljljl
jkljasle
any help ?
--
Fi... more >>
About ReportCSSDK, looking forward to your help
Posted by Haitian at 4/23/2005 12:00:00 AM
hello, everyone,
my question is about ASP.NET Starter Kits Report£¬ in which there is one
file Visual.aspx£¬ it will call ChartGenerator.aspx to generate one Chart
( Pie or Bar ) in an Image control.
The relevant code is
// attach image generator to image
ChartImage.ImageUrl = "Cha... more >>
|