I am using a asp link button in grid template field which calls a pop up,i need to find the link button's control in cs page.
my link button code
<asp:LinkButton runat="server" ID="hlQName" Text='<%# Eval("QuestionnaireName")%>' OnClientClick
View Complete Post
i have a table there is 17 columns in 17 column 3 are number and other are varchar . when i try to display all data of that column error occures.
one more intersting think is when i try to display 6 column then grid show there data an no more error occures.
when i run my project this error occures in grid view
Arithmetic operation resulted in an overflow.
I am calling a report in a web page which is getting displayed in report viewer. This report comes fine but when I click on it to see the drill through report for this parent report the drill through report does not get displayed and I see a JScript error instead.
The error I get is something like,
parent.document.GetElementByID(...).ClientController is not null or not an object
The aspx page that contains the report viewer inherits from a master page that contains an Update Panel.
I tested the report separately in SSRS and the drill through is working fine there.
Can some one please provide any inputs on this one?
i have a grid view control
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowUpdating="Update_1"
OnRowDeleting="Delete_1" OnPageIndexChanging="OnPaging" OnRowEditing="Edit_1"
<td align="left" width="100">
<cc1:CalendarExtender ID="cal" runat="server" TargetControlID="txtDate" PopupButtonID="btnpopupCalendar"
<asp:Button ID="btnpopupCalendar" runat="server" Text="Show Calendar" />
<td align="left" width="100">
Now, I want to pass the textbox value to the server side to get Image. How Can I pass the value to the server side which is in textbox.?
Hi,I have grid view control that includes a dropdown control in a template field.I wish to execute some code when the value is changed in the dropdown list. Can't figure out how to capture this event though?Any suggestions?
How to take
value of bound field of grid in a variable or in a textbox.
I m using
this code in .aspx page for grid.
<RowStyle CssClass="odd" />
DataField="DOC_TYPE_PK" Visible="true" >
<asp:TemplateField HeaderText="DOC TYPE ID" Visible="true"> &nbs
I have created a custom control from scratch and it works fine as in you can build the project that uses it and it works fine at runtime. Problem is when you go to design view the control shows an error in the place of where the control should be rendered.
Error: '<SomeValue>' Could not be set to '<SomeProperty>'
This shows up on all my custom set properties. These properties are created as basic as possible. I can give the properties values in Source view and run the app just fine. I can even add a Onclick event. If I don't set any custom properties the control will render fine in Design view. It's only when I set a value to a custom property.
Property Code Example:
public string Text
string ret = "";
object obj = ViewState["Text"];
if (obj != null)
ret = obj.ToString();
ViewState["Text"] = value;
I've even removed the Category and Description tags with no difference.
I don't know if what I said makes sens, but I hope it