Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:782538
More Search Options
RSS Available
Matching Posts
Windows Server 2008 R2 and IIS 7.....401 - Unauthorized: Access is denied due to invalid credentials.
we have just upgraded our server to a 64 bit version and I transfered all my websites over and every web site I access I get the following error message: ' 401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied. any ideas? Thanks
Posted to
Web Hosting with IIS and ASP.NET
(Forum)
by
cluce
on 10/6/2009
Re: trying to highlight admin posts in red w/n a repeater cntrl
I forgot to mention the code above was an attempt to highlight the username not the whole text but that is my goal. Once I can highlight the admins name in red , I will also highlight his post text. I was just taking baby steps. :)
Posted to
Data Presentation Controls
(Forum)
by
cluce
on 9/16/2009
trying to highlight admin posts in red w/n a repeater cntrl
have a mini message board that im trying to highlight admin(gregm) posts(emerg_text) in red and all other user posts in white but having trouble. I tried thsi last year with no luck. my repeater code is: <asp:Repeater id="Repeater1" runat="server" DataSourceID="DS1"> <HeaderTemplate> </headerTemplate> <ItemTemplate> <asp:Table ID="Table1" runat="server" border="0" style="margin: 0 auto 0 auto; width:600px">
Posted to
Data Presentation Controls
(Forum)
by
cluce
on 9/16/2009
Re: trying to highlight admin posts in red w/n a repeater cntrl
thanks. I changed me code and now it looks like my code does not do anything but at least I dont get any errors. my new code is: Protected Sub Repeater1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Handles Repeater1.ItemDataBound If (e.Item.ItemType = ListItemType.Item) Or (e.Item.ItemType = ListItemType.AlternatingItem) Then Dim lblOwner As Label = DirectCast(e.Item.FindControl("lblUserPosts"), Label) Dim TCOwner As TableCell = DirectCast
Posted to
Data Presentation Controls
(Forum)
by
cluce
on 9/16/2009
Re: trying to highlight admin posts in red w/n a repeater cntrl
I am using this as my datasource <asp:SqlDataSource ID="DS1" runat="server" ConnectionString="<%$ ConnectionStrings:LocalSQLServer %>" ProviderName="System.Data.SqlClient" SelectCommand="SELECT emerg_owner, emerg_text, emerg_create_time FROM Posts ORDER By emerg_create_time DESC"> </asp:SqlDataSource> NOt sure hwat you mean by data row parameter? I did not think I was using a data row .only tablerows and table cells adn binding it
Posted to
Data Presentation Controls
(Forum)
by
cluce
on 9/16/2009
Re: trying to highlight admin posts in red w/n a repeater cntrl
[quote user="fayaz_3e"] And one more thing. You are checking with Label Text which is not yet set. Text will be set after DataBound only. Means its balnk in ItemDataBound. Thats why I guess its not entering in if condition. You need to get text from e.Item.DataItem... Cast it(e.Item.DataItem) to appropriate and get Text [/quote] OK thanks. Can you show me what you mean by Cast It.? If (e.Item.ItemType = ListItemType.Item) Or (e.Item.ItemType = ListItemType.AlternatingItem) Then Dim lblOwner
Posted to
Data Presentation Controls
(Forum)
by
cluce
on 9/16/2009
Re: trying to highlight admin posts in red w/n a repeater cntrl
I just thought of something. even if this code worked it would make everybody's post red. I only want to make posts that were made by the admin red. any abody have a tutorial on something like this? I am stuck.
Posted to
Data Presentation Controls
(Forum)
by
cluce
on 9/16/2009
Re: need advice on creating an online credit app
Your right. I was just thinking of a way for them to print it out for their records without printing the website design. I thinik their is way to scrub the html to print an alternate view without images and graphics. Does anybody have an article i can learn from to do this? I also may need to use sessions that way the correct data is being viewed and not some other persons data. Just in case 2 people are filling out the app at the same time. (Am i right here?)
Posted to
Web Forms
(Forum)
by
cluce
on 9/8/2009
Re: can you determine which txtfields are required by a selection in a dropdown?
Thanks. I think I will do it in VB.Net the post backs wont be so bad because I can use an ajax partial page update control for an effecient process
Posted to
Getting Started
(Forum)
by
cluce
on 9/8/2009
need advice on creating an online credit app
I am cretaing an onine credit app that is divided into two parts in a multiview control. When the user finishes the second view in the control, I want to give the option to the user to view and edit, if needed. Once approved he can print it out for his records after submitting it to us in our database. I was thinking of transferring the values from one texbox into the other textbox for viewing. if the user likes what he sees, he than can submit it to us for processing. After he sends it to us, he
Posted to
Web Forms
(Forum)
by
cluce
on 9/4/2009
Page 1 of 41 (409 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online