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:702405
More Search Options
RSS Available
Matching Posts
Re: Rich Text Editor
[quote user="JoeStagner"]Josh just likes to stir the pot[/quote] Not true! This is a legitimate issue that I have experienced in multiple browsing environments. [quote user="mbanavige"]Fire up fiddler as you browse the site so that you can see the total payload. you'll see that things like emoticons and identicons and various other items are being delivered repeatedly or are cached in such a way that a connect is still required to determine if the cached copy is valid. Each
Posted to
Feedback on this website
(Forum)
by
JoshStodola
on 12/14/2008
Re: Custom Control with Textboxes, Button, and GridView
MyClass is what I have used to bind the gridview. Like this... Dim Records as List(Of MyClass ) = 'Get Records gvResults.DataSource = Records gvResults.DataBind() In the data bound event, I am casting the given row to an instance of the class so that I can access all of the properties for that row (in this case, I am using the properties to set some values on a Hyperlink in that row). The code format of datasource is just like the example above. It would call a function that returns a List(Of
Posted to
Custom Server Controls
(Forum)
by
JoshStodola
on 12/14/2008
Re: Disabling all the controls in asp.net page using javascript - problem in firefox
Try this... var allElems = new Array(); window.onload = function() { allElems = document.forms[0].elements; } function disablePage() { for (var i = 0, l = allElems.length; i < l; i++) { var elem = allElems[i]; elem.disabled = (elem.id.substr(0, 2) != '__' ); } } function enablePage() { for (var i = 0, l = allElems.length; i < l; i++) allElems[i].disabled = false ; } Hope this helps! Don't forget to mark the helpful post(s) as Answer .
Posted to
Client Side Web Development
(Forum)
by
JoshStodola
on 12/1/2008
Re: Custom Control with Textboxes, Button, and GridView
I'VE GOT IT! (throwing my arms towards the sky in glorious fashion) I created a new class to implement ITemplate so I could add the TemplateField programmatically. Then I create a HyperLink in it that submits a custom postback. Then in the control's Load event, I check for this specific postback target value and then raise my custom event, passing the Postback argument. It's somewhat hacky, but it works very well. Here is my code... Imports System Imports System.Collections.Generic Imports
Posted to
Custom Server Controls
(Forum)
by
JoshStodola
on 11/10/2008
Re: Custom Control with Textboxes, Button, and GridView
Somebody please help me!!!
Posted to
Custom Server Controls
(Forum)
by
JoshStodola
on 11/10/2008
Re: Custom Control with Textboxes, Button, and GridView
OK I have made significant progress since I last replied here. Right now I have a Composite Server Control rendering a textbox and button. When the button is clicked, it fetches database records based on a Property of the control, and the users input into the textbox. Then it spits the database result out in a GridView. In RowDataBound of this GridView, I am injecting a LinkButton into the first column, but I cannot seem to intercept the click event of the LinkButton! It just postsback and does nothing
Posted to
Custom Server Controls
(Forum)
by
JoshStodola
on 11/7/2008
Re: Custom Control with Textboxes, Button, and GridView
Thanks again!! 1&2: I believe I need to inherit from WebControl for this. 5: I'm under the impression that I should be able to register my controls to the Toolbox in the designer and be able to drag them onto web forms (by adding a "Web Control Library to the solution, it should put them in toolbox automatically). But, I am not worried about that at this point. I need to get the code written first. 2&4: I really could use some more details with regards to these (dynamically adding
Posted to
Custom Server Controls
(Forum)
by
JoshStodola
on 11/7/2008
Re: Custom Control with Textboxes, Button, and GridView
Thanks, but Yes I already know how to do user controls. What I am trying to create now is a custom server control (nothing but a .vb file), that will reside in a class library, and can be distributed across multiple applications that already utilize other things in the library. Thanks again!
Posted to
Custom Server Controls
(Forum)
by
JoshStodola
on 11/7/2008
Custom Server Control with Textboxes, Button, and GridView
Hello friends, I need to create a custom control that can be used in a few different web applications. I have never created a custom control before today, but I am a quick learner. Here are my basic needs... I will need a textbox, a button, and a gridview in this control. Need to set a property on the control (with value from user session) in Page_Load of application using this control. I will need to access this value later. On initial load, only the textbox and button will be displayed. When user
Posted to
Custom Server Controls
(Forum)
by
JoshStodola
on 11/7/2008
Re: get notified when image downloads completely on web page?
I am pretty sure window.onload accounts for images... window.onload = function() { alert('All done!'); } You can also get the image with Javascript like this, if it's feasible for you... var img = new Image(); img.src = '/images/myImage.jpg'; img.onload = function() { alert('Image done!'); } Best regards...
Posted to
Client Side Web Development
(Forum)
by
JoshStodola
on 10/28/2008
Page 1 of 312 (3120 items) 1
2
3
4
5
Next >
...
Last »
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
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
ASP.NET:
T4MVC now has a real home and a dedicated forum!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online