@Sam

I always use this as well but maybe a trick for you ineed a bit more
design freedom over every piece of repeated data

In my repeater item template I always include a multiview control with
several views.

This way on databound of the repeater i can determine which view of
the multiview to use for each repeater item. But still keep the code
as clean  as possible. But with more options than itemtemplate and
alternating item template

Armand

On 8/19/07, Sam Collett <[EMAIL PROTECTED]> wrote:
>
> I use $("[EMAIL PROTECTED]"]) to get any input elements whose id ends
> with MyID (i.e. whatever you set in your ASPX page). Either that, or
> use a class instead.
>
> As for the 2nd question, I don't use anything other than the basic
> controls (repeater, dropdownlist etc - DataGrid's and GridViews I
> don't use) as it helps keep the HTML clean. It also means that any
> code I write will be pretty portable (i.e. very little modification
> needed to get it to work with PHP, JSP, CFML etc).
>
> On Aug 18, 9:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > I have two small questions, if anybody can help:
> >
> > 1. This was recently published concerning .NET:
> >
> > "if you have an element that has runat="server" attribute you cannot
> > call it directly as #loginForm  because asp.net rewrites the id to
> > something different  just doa view source on your aspx page and you
> > will see the renamed form cleintid "
> >
> > I was wondering how to probably implement jQuery with an ASP.NET
> > control considering this problem.  Or do we simply need to write out:
> >
> > "ctl00_ContentPlaceHolder1_btnConfirm" to access the btnConfirm
> > button?
> >
> > 2) I'm also using AJAX update panel to update a gridview.  Everything
> > is working great.  However, once I update the gridview and it's
> > refreshed in AJAX, my jQuery no longer works, even though the code is
> > there.
> >
> > Has anybody had any experience with this?  Thanks for the help!
>
>


-- 
Armand Datema
CTO SchwingSoft

Reply via email to