Solved

Asp.net Identifier expected error.

Posted on 2014-02-22
2
718 Views
Last Modified: 2014-03-06
I am getting an unexpected error in my code. Here is the code.



        <asp:DropDownList ID="ddlReportType" runat="server" OnSelectedIndexChanged="BindGrid";"
                AutoPostBack="True">
        </asp:DropDownList><br /><br />


BindGrid is defined as
 Private Sub BindGrid()
0
Comment
Question by:Idarac
2 Comments
 
LVL 18

Accepted Solution

by:
Gary Davis earned 500 total points
ID: 39879573
The function may need to be declared as Public.
0
 
LVL 11

Expert Comment

by:SAMIR BHOGAYTA
ID: 39881686
hi...
Please write your code like this, if you don't need to pass any parameter with this function.

<asp:DropDownList ID="ddlReportType" runat="server" OnSelectedIndexChanged="BindGrid();"
                AutoPostBack="True">
        </asp:DropDownList><br /><br />

Please try it... and let me know for further help...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now