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:313502
More Search Options
RSS Available
Matching Posts
Resizing an image in vb.....
Hello, Can someone tell me how to resize an image in vb? I need to resize an image that's already in my Images file on the server and assign it to an image control. I've looked online but can only find C# code and Vb.Net code. Is there any code in VB code out there? Thanks Alec
Posted to
System.Drawing/GDI+
(Forum)
by
alecd
on 10/25/2009
Re: Nested DataGrid
Thank you Vinz and Samu Zhang. All of your input helped me figure out how to do what I needed to do. Here is my final code for those who may need it: Dim parentItem As DataGridItem = e.Item.Parent.Parent.Parent.NamingContainer Dim parentIndex As Integer = parentItem.ItemIndex Dim lblDesignCount As Label = DirectCast (grd_Designs.Items(parentIndex).FindControl( "lbl_DesignCount" ), Label) lblDesignCount.Text = CInt (lblDesignCount.Text + intCount) Thanks again, Alec
Posted to
Data Presentation Controls
(Forum)
by
alecd
on 6/8/2009
Re: Nested DataGrid
Yes..... Thank you. That works, but I still can't figure out how to find the parents index from the childs ItemBound. Is there any way to find out the parents index from the childs ItemBound? Does that make any sense? Sorry if I'm confusing everyone.
Posted to
Data Presentation Controls
(Forum)
by
alecd
on 6/6/2009
Re: Nested DataGrid
I want to access a specific parents Label from the childs DataBound. The direct parent.
Posted to
Data Presentation Controls
(Forum)
by
alecd
on 6/4/2009
Re: Nested DataGrid
Thanks for the response Vinz, it does access the parents label lbl_DesignCount, but I can't figure out how to access the childs parents item directly. It seems to be arbitrarily accessing the parents items. Never reaching the childs parents item. I need to access the parent list item only...... I tried an if statement to match the parent with the child but the loop never got to the childs parent..... Alec
Posted to
Data Presentation Controls
(Forum)
by
alecd
on 6/4/2009
Re: Nested DataGrid
Thank you for the response chintanpshah, however I'm getting the following error: Unable to cast object of type 'ASP.mp_shipmentorganizer_aspx' to type 'System.Web.UI.WebControls.DataGridItem'.
Posted to
Data Presentation Controls
(Forum)
by
alecd
on 6/4/2009
Nested DataGrid
Hello everyone, I'm trying to access a parent DataGrid object and can't figure it out. I have two DataGrids: grd_List and grd_Details. grd_Details is nested in grd_List. I need to access a label in grd_List from the OnItemDataBound function in grd_Details. Here's some code that may better explain what I'm trying to do: Dim lblDesignCount As New Label lblDesignCount = CType (e.Item.Parent.FindControl( "lbl_DesignCount" ), Label) lblDesignCount.Text = "Yes" If I
Posted to
Data Presentation Controls
(Forum)
by
alecd
on 6/3/2009
Create a temporary folder on the server for my users to download.....
This is a bit of a repost. This regards the combination my last two posts... I got the following code to have downloadable files for my users from my previous post: Dim path As String = Server.MapPath( "~/Music/Umba.mp3" ) Dim file As System.IO.FileInfo = New System.IO.FileInfo(path) Response.Clear() Response.AddHeader( "Content-Disposition" , "attachment; filename=" + file.Name) Response.AddHeader( "Content-Length" , file.Length.ToString()) Response.ContentType
Posted to
Getting Started
(Forum)
by
alecd
on 4/8/2009
Re: Creating temporary files for download......
You wouldn't happen to know how to write that in VB would you?
Posted to
Getting Started
(Forum)
by
alecd
on 4/1/2009
Re: Creating temporary files for download......
I just realized I have been confusing everyone by incorrect vocabulary. I need to be able to create a temporary FOLDER for the user to download..... Not file.
Posted to
Getting Started
(Forum)
by
alecd
on 3/31/2009
Page 1 of 15 (147 items) 1
2
3
4
5
Next >
...
Last »
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online