CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: Date Entered: 3/30/2007 6:28:09 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 637 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"CVM" <>
NewsGroup User
Button click event in gridview emptydatatemplate3/30/2007 6:28:09 PM

0

I have a button in the emptydatatemplate field if there are no rows generated.  This button basically got to another page when you click it.  Problem is the click even is not being hit while in this.  I also have this exact same button in the header when there is data in the gridview.  I also renamed it and renamed the click event but still the same problem.

<EmptyDataTemplate>
            <asp:Button ID="CreatePlayerButton" runat="server" OnClick="CreatePlayerButton_Click"
                        Text="Create Player" ToolTip="Create A Player"  /> There are currently no players on this team.
</EmptyDataTemplate>

     protected void CreatePlayerButton_Click(object sender, EventArgs e)
    {
        MembershipUser mu = Membership.GetUser();
        Roles.RemoveUserFromRole(mu.UserName.ToString(), "tempplayers");
        Roles.AddUserToRole(mu.UserName.ToString(),"tempplayers");
        Server.Transfer("~/Members/Players/EditBio.aspx?TeamID=" + TeamsDropDownList.SelectedValue.ToString());
    }

 

That is not being hit above with a breakpoint, but it hits when it is in the header of the gridview.  Any ideas please. 


Michael S. Flynn
"CVM" <>
NewsGroup User
Re: Button click event in gridview emptydatatemplate4/2/2007 2:15:25 AM

0

Is this stumping anyone?  This is being used with ASP.NET CSS adapters

Michael S. Flynn
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













vertical align

createuserwizard not going to complete step when using css adapters

seperatorimageurl not supported on cssfriendly menu

menu css control adapter

css adapter treeview and populate on demand using ajax...

css fiendly menu problems with ie 6

javascript namespaces

menu adapter - selected item image problem

login control & validation

can't get onadaptedselectednodechanged to work with usercontrol and master page

menu not rendering correctly

problems using the adapters.

css adapters ok on sharepoint desinger?

css menu disappears on some pages

button click event in gridview emptydatatemplate

4 and 5 level tiers

vs2005 crashing after installing css friendly adapters

gridview. is this possible?

where is aspnet-menu-link class defined

how to uninstall css adapter 1.0 site template?

bg images to menu

asp.net 3.5 parser error with css friendly adapter

how to add a stylesheettheme in a master page

menu selecteditem problem

menu adapter treating top-level menu items as links

securitytrimmingenabled treeview adapter

menu adapter problem - display first-level child nodes with the root node

gridviewadapter

non-indenting treeview

variable width of horizontal top level menu elements?

css treeview adapter losing checkbox state

username problem in usercontrol in horizontal menu by css??

need some css help on the menuadapter

css control adapters sucks ... what is going on?

unable to create type 'bcc.tnt.resellersite.cssfriendly.gridviewadapter'.

css and site map

sizing the css friendly menu adapter..

gridview prerender

menu and ie7

does the css friendly gridview have problems showing selected rows?

exception has been thrown by the target of an invocation.

show path back to root node

menu control submenu css

space before first menu item in menu sample

ie 6 problem - search results are pushed down in the content area

chaning gridview column width and alignment with adapters

need wider width on second level menu

[beta3] treeview bug with enhanced theme ?

treeview dynamic node population

treeview in updatepanel: selected node lost when nodes populating on demand

   
  Privacy | Contact Us
All Times Are GMT