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:696029
More Search Options
RSS Available
Matching Posts
Best way to focus and position cursor in textbox
Hi I'm developing a webpart to search for customers etc., but that is not really the important part. I'm using an UpdatePanel and need some sort of AutoComplete behavior, nothing advanced or anything. Just a list/table of results that is updated as the user changes the text in the input field. For this I'm using the onKeyUp event to catch keystrokes. But the postback behavior steals focus from the textbox so i use TextBox.Focus() method to set this (could not get at client script to work
Posted to
Client Side Web Development
(Forum)
by
sparrez
on 7/3/2009
Filed under: autocomplete, input field, cursor position
Re: Control inside Web Part is empty after normal PostBack
Thanks for your answer, but it didn't help much, it's like it completely drops any knowledge about the checkbox list when the second postback happens
Posted to
Web Parts and Personalization
(Forum)
by
sparrez
on 12/14/2007
Control inside Web Part is empty after normal PostBack
I have a Web Part deployed on a SharePoint site. The Web Part have some search functionality and when the user clicks a button a CheckBoxList is genereted based on the results of the search. Now the user can select/deselect items from the list and then click another button the should have some other functionality. My problem is that when the second button is clicked and the page returns the CheckBoxList is now empty. How should a Web Part be designed if I want this two-step thingie to work. I can't
Posted to
Web Parts and Personalization
(Forum)
by
sparrez
on 12/13/2007
Filed under: empty, Web Part, CheckBoxList
Using a Key/Value collection in a Web Service
I want to be able to use some sort of key/value collection in a web service, but have not yet been able to figure out how to make it work successfully. Obviously I have not been able to use the Dictionary og Hashtable classes as they won't serialize to XML. I have tried implementing my own serializable Dictionary by following the recommendations on: http://weblogs.asp.net/pwelter34/archive/2006/05/03/444961.aspx and http://weblogs.asp.net/cweyer/archive/2004/08/02/205798.aspx , but without luck
Posted to
XML Web Services
(Forum)
by
sparrez
on 10/29/2007
Filed under: value, WEb Service, collection, key
LinqDataSource and connection information
I want to use the new LinqDataSource in one of my .NET 3.5 test applications. But I need the application to grab the connection information from the Web.config. My DAL is separate from the ASP.NET application so for obvious reasons putting the connectionstring in the DataContext is out of the question. But how do I provide the LinqDataSource with a datacontext, that is initialized with the correct connectionstring?. I have tried making a wrapper class that encapsulates my DataContext and provides
Posted to
Blinq Preview
(Forum)
by
sparrez
on 9/27/2007
Filed under: ConnectionString, LinqDataSource, linq, DataContext
LinkButtons and GridView in UpdatePanel sometimes makes a full post-back
So I have created at Web Part that holds an UpdatePanel which holds all other controls on that Web Part. In one of the GridView columns I dynamically create a LinkButton for each row. This work fine and most of the time I get the partial postbacks that I want, but sometimes I get full post-backs, and I cant figure out why. But usually I can do a number of clicks, like paging on the GridView back and forth. But when I click one of the LinkButtons in the GridView I get a full post-back. Is there something
Posted to
ASP.NET AJAX UI
(Forum)
by
sparrez
on 9/5/2007
Filed under: WebPart Update Panel LinkButton
AJAX, WebParts and UpdateProgress
Hi, I have successfully enabled AJAX on our SharePoint development server and created a number of WebParts using the UpdatePanel. Now I want to make use of the UpdateProgress control so I can show an icon while the the server processes the request. But I cant seem to figure out how to create the UpdateProgress control in 100% codebehind. Can anyone point me in the right direction?? There is a ProgressTemplate property, but it seems rather empty. Please help me..
Posted to
Web Parts and Personalization
(Forum)
by
sparrez
on 9/3/2007
Filed under: SharePoint, UpdatePanel, UpdateProgress, AJAX, WebPart
Web Part category in SharePoint 3.0
Hi, I was wondering if it is possible to set a default Category that the Webpart should belong to, so when added to the list of available Web Parts in SharePoint it will be placed under that Category. I know it is probably not really a ASP.NET 2.0 situation, but it would be nice if it was possible. -- Christian
Posted to
Web Parts and Personalization
(Forum)
by
sparrez
on 8/7/2007
Filed under: SharePoint, Web Parts
Embed resources in User Control
Hi, I have previusly used embedded resources in en Web Custom Control using WebResource approach. But that does not seem to work when using a Web User Control, I get a WebResource.axd not found exception. How is it possible to use embedded resurces in a User Control, I don't want to distribute images etc. seperately. I'm using the ASP.NET Web Application project template. PS. is it possible to have Visual Studio create a consitently named DLL when using the ASP.NET Web Site template, instead
Posted to
Web Forms
(Forum)
by
sparrez
on 6/28/2007
Filed under: WebResource, embedded resource, User Controls
Events on Control inside WebPart don't fire.
I'm just starting to work with Web parts, and have created a simple Google search box. I created the webpart as a class library, and when I add the TextBox and Button control to the webpart in the CreateChildControls method everything works just fine. But I want to have more control over how the elements ar positioned so I created a Table in the RenderContents method using the RenderControl method on the control it self. But still having the control initialized in the CreateChildControls method
Posted to
Web Parts and Personalization
(Forum)
by
sparrez
on 6/27/2007
Filed under: Events, WebPart
Page 1 of 3 (28 items) 1
2
3
Next >
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online