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:15890
More Search Options
RSS Available
Matching Posts
Re: Finding Controls in Nested Repeater on Button Click
ahh yes, IsNot it is. Apologies for that :D Thanks for reporting back. Have a good weekend.
Posted to
Data Presentation Controls
(Forum)
by
alessandro
on 11/14/2009
Re: How to handle user control events in base class and then inherit web pages from that base class
ahh I see now. Well, firstly, the textboxes were just an example to put through an idea. Anyway, it seems like I was of the thinking that the usercontrol was to be contained in the gridview. I understood wrong. So back to you, you continue to say repeated code. what is the repeated code? The whole purpose of using a usercontrol is to avoid the repetition and allow reusability. You already took care of that part when you encapsulated that logic in the usercontrol. Your usercontrol futher exposes event
Posted to
Data Presentation Controls
(Forum)
by
alessandro
on 11/14/2009
Re: How to handle user control events in base class and then inherit web pages from that base class
You have a usercontrol class. You have added some common functionality here that you shall be reusing. So far it's all good. Then you say you want your page class to inherit this usercontrol? That's not a good idea; .NET supports single inheritance so either your page inherits the Page Class and acts as a page or it inherits your usercontrol and acts as a usercontrol. As you can see, your idea to use inheritance in this scenario doesn't help. You say you have a usercontrol with a set
Posted to
Data Presentation Controls
(Forum)
by
alessandro
on 11/13/2009
Re: Finding Controls in Nested Repeater on Button Click
hello, what you need to do is subscribe to your buttons click handler. In this handler you need to use loop through each RepeaterItem in your outermost repeater, use find control to find the control you are interested in and then proceed, here is some pseudo code to get you started. The code as is should make sense to you. If not, let me know how i can help you better : C# protected void btn1_Click(object sender, EventArgs e) { foreach (RepeaterItem ri in rptMenu.Items) { if (ri.ItemType == ListItemType
Posted to
Data Presentation Controls
(Forum)
by
alessandro
on 11/13/2009
Re: How to fill a grid with my own data
The code you pasted looks fine. You have not stated the problem you are seeing? Also the fact that you pass the value byref or byval is quite a moot argument within the context of what you are asking and shouldn't affect the outcome. why? Simply because the gridview is a reference type, so if you passed it byval, while a new copy of the object is passed, it still holds a reference to the same memory allocation on the heap. The change you make as in passing a datasource and calling databind will
Posted to
Data Presentation Controls
(Forum)
by
alessandro
on 11/13/2009
Re: how to load gridview after the page is completely loaded?
[quote user="bruendt"] I had a similar requirement and was able to use this technique successfully. However I'm not able to get the UpdateProgress control to function. Even when I pasted your code into a blank aspx page the UpdateProgress text was not showing. I've gotten it to work with update panels before, but not when using this technique. Any insite? [/quote] hi, I've re-tested the code and apparently the UpdateProgress is not working as you've mentioned. I'm not
Posted to
Data Presentation Controls
(Forum)
by
alessandro
on 11/11/2009
Re: Full text search stored procedure error problem
hi markiz Try and use an n varchar field as opposed to varchar. if you use varchar, an implicit conversation takes place. Perhaps this maybe what is giving you problems when calling your stored proc residing on your database server. Worst case scenario this will give you better performance than simply using a varchar. So keep it as nvarchar even if it didn't help. [quote user="msdn"] <contains_search_condition> Specifies the text to search for in column_name and the conditions
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
alessandro
on 8/17/2009
Re: Problem with Nested Repeater Controls
Anneleen, your welcome Well, when you pasted your code, something went wrong because the code lost formatting. With formatting i mean line breaks , indentation , spaces etc. Basically, your code fit in a single line. This made it hard to read. I don't think this is your fault but rather the code pasting mechanism on this forum acting up Have a good day.
Posted to
Data Presentation Controls
(Forum)
by
alessandro
on 8/13/2009
Re: Problem with Nested Repeater Controls
hello again :-) It's not that your code is hard, it's just a lot of code to go through and also your code has no formatting. Anyway, I see your mistake now. And it's quite simple and so easy to miss :D:D In your code you have a nested repeater, but that repeater is bound to * only * 1 datasource control. In your code, when you do this : Protected Sub rptKeywords_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Dim keywordID As HiddenField
Posted to
Data Presentation Controls
(Forum)
by
alessandro
on 8/12/2009
Re: Problem with Nested Repeater Controls
hello, apologies for late response. Your code lacks formatting and knowing I had to reformat your code (which was the hardest part) I simply slacked Ok, so, since your code is based on a master page, a content page and session variables, i'll limit myself to pointing the obvious. Let me know if you require further direction. Too many dependancies for me to recreate your situation on my end unfortunately. one issue I see is that you are hiding/showing the repeater based on the condition that a
Posted to
Data Presentation Controls
(Forum)
by
alessandro
on 8/11/2009
Page 1 of 111 (1101 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