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:806660
More Search Options
RSS Available
Matching Posts
Re: How to find that the webpage is redirected from some online search engine?
Maybe I'm not understanding you correclt, but if there are links from places like buy.com, they must point to a page somewhere in your web application. Can you provide more information...
Posted to
Web Forms
(Forum)
by
stlarmon
on 10/16/2009
Re: How to find that the webpage is redirected from some online search engine?
You can check the Request.UrlReferrer in Page_Load
Posted to
Web Forms
(Forum)
by
stlarmon
on 10/16/2009
Re: How to find that the webpage is redirected from some online search engine?
Right, but there has to be some kind of HTTP Handler or Module that queries the database to generate the dynamic aspx.
Posted to
Web Forms
(Forum)
by
stlarmon
on 10/16/2009
Re: LoadControl if it exists
Did you use Server.MapPath with File.Exists? This seemed to work for me. If IO.File.Exists(Server.MapPath("MyControl.ascx")) Then Dim c As Control = LoadControl("MyControl.ascx") End If
Posted to
Custom Server Controls
(Forum)
by
stlarmon
on 10/16/2009
Re: ModalPopupExtender
I've noticed that sometimes calling focus on a control when using AJAX doesn't always work. I've always had success using the Scriptmanager to set focus ScriptManager.GetCurrent(Me.Page).SetFocus(txtNewCompany)
Posted to
ASP.NET AJAX UI
(Forum)
by
stlarmon
on 7/1/2009
Re: Fix my Gridview height on rows and overall height
By setting the gridview width statically (In my example 300px) it stops the gridview width from going crazy. The no wrap would cut the characters going beyond the width of the gridview. Another way to handle it, would be in RowDataBound. In the following example, when the DataItem "Comment" is greater than 80 characters it only displays the first 80 chars and then appends a ... to the end. Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls
Posted to
Data Presentation Controls
(Forum)
by
stlarmon
on 7/1/2009
Re: Javascript and selected treeview node
This will get you the Text and Value from the Treeview function tvClick() { var tvSelected = document.getElementById('TreeView1_SelectedNode'); var node = document.getElementById(tvSelected.value); alert(node.innerText); //Name alert(node.href.substring(node.href.indexOf(",")+2,node.href.length-2).split("\\")[2]); //Value } Ref: http://forums.asp.net/p/1361880/2823538.aspx
Posted to
Client Side Web Development
(Forum)
by
stlarmon
on 7/1/2009
Re: Fix my Gridview height on rows and overall height
You can use the ItemStyle-Height and ItemStyle-Wrap to control this behavior. There's a quick example below <asp:GridView ID="GridView1" runat="server" Width="300px" AutoGenerateColumns="false"> <Columns> <asp:BoundField ItemStyle-Height="20px" ItemStyle-Wrap="false" DataField="Comment" /> </Columns> </asp:GridView> Dim dt As New Data.DataTable dt.Columns.Add(New Data.DataColumn("Comment"
Posted to
Data Presentation Controls
(Forum)
by
stlarmon
on 6/30/2009
Re: setting datakeynames property in code
Allessandro DID provide the correct VB Code. If you're still getting an error, make sure you change the DataKeyNames to Columns that actually exist in your DataSource
Posted to
Data Presentation Controls
(Forum)
by
stlarmon
on 6/30/2009
Re: VB to Export Gridview to Excel..Works but need xtra help
You could just call Gridview2.Columns.RemoveAt(0) right before you call the first GridView2.AllowPaging = "False" GridView2.Columns.RemoveAt(0) GridView2.DataBind() Dim tw As New IO.StringWriter() Dim hw As New System.Web.UI.HtmlTextWriter(tw) Dim frm As HtmlForm = New HtmlForm() Response.ContentType = "application/vnd.ms-excel" Response.AddHeader("content-disposition", "attachment;filename=Temp.xls") Response.Charset = "" EnableViewState = False
Posted to
Data Presentation Controls
(Forum)
by
stlarmon
on 6/30/2009
Page 1 of 14 (139 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Channel 10:
ASUS Brings GUI to BIOS
ASP.NET:
Microsoft AJAX CDN – Now with SSL Support
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
ASP.NET:
PDC09 Talk: Building Amazing Business Applications with Silverlight 4, RIA Services and Visual Studio 2010 – Now in Visual Basic!!
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online