That doesn't work, this is a .rdlc report, not a normal aspx web form. Escape characters does not seem to work on these reports.
Reinier van de Wetering
Posts
-
Web Developer - Reporting Add-In -
Web Developer - Reporting Add-InI'm busy creating a report with Web Developer Express and the Reporting Add-In. Can anyone help me to add a tab-space to a textbox on a report. I've looked for a solution for a couple of hours now and can't seem to find anything that works. Thank you.
-
Getting text from linkButtons???Thanks, it works!!!
-
Getting text from linkButtons???I tried to send more code, but it does'nt look like it saved it, it only send that one line. Hope it works now. protected void (object sender, EventArgs e) { LinkButton lb = (LinkButton)sender; lblJobNo = lb.Text; } <\Script> <ItemTemplate> <asp:LinkButton ID="lbJobNo" runat="server" OnClick="OnClick"> <%#DataBinder.Eval(Container.DataItem, "JobNo")%> </asp:LinkButton> </ItemTemplate> </x-turndown>
-
Getting text from linkButtons???Thanks, i'll try something else. I just started with asp.net, or for that fact with any web applications, so i'll need to learn all the ways to access and use data, this was just the first thing that i thought might work. I'll probably struggle with simple stuff like this for another couple of months (or years!!). Thanks for the advise. Reinier.
-
Getting text from linkButtons???I've got a column with linkbuttons in a datagrid, a retrieve the text for the buttons using DataBind.Eval(). When a button is clicked the onclick event fires and then i need the button's text. When i tried it without the DataBind.Eval() function and just typed in any value for the button it works fine. Can anyone help me? <%#DataBinder.Eval(Container.DataItem, "JobNo")%> Thank you, Reinier.
-
as400 connectionI am trying to load data from a as400 db into a datatable, but i get the following error: OleDbDataAdapter internal error: invalid rowset accessor: Ordinal=5 Status=UNSUPPORTEDCONVERSION. Can anyone tell me how to fix this?
-
Panel control in a DLLThanks for the reply. I tried setting the z-order, but still nothing happens. Do you have some other advise? Thanks.
-
Panel control in a DLLI'm trying to create a custom control in a dll. The class is inherited from the System.Windows.Forms.Panel class. On this new class i place a couple of labels and another panel, but when i add this control on a windows form, i only see the outline of the control but nothing on it. I tried the same thing with the System.Windows.Forms.Usercontrol class and that worked fine, but the moment i inherit from the panel class the trouble starts. Can anyone tell me what i'm doing wrong? Thanks, Reinier.
-
Confirm delete on DataGridThanks for the reply. I think you are referring to a datagrid in webforms, i'm looking for a answer on a datagrid in a windows form, when the delete key on keyboard is pressed.
-
Confirm delete on DataGridIs there a way to add code to the delete key pressed on a datagrid? I want a messagebox to pop up when the key is pressed to allow the user to confirm or cancel the deltetion of the datagrid row. Thanks, Reinier.
-
RowFilterIs it possible to use a RowFilter on two fields?? ex: dataView.RowFilter = "Job ='7777' and status = '1'", or something like that. I can't find anything that works. thnxs,
-
Cast ProblemThanks, it was pretty stupid of me. I've got it working now.
-
Cast ProblemCan someone tell me what is wrong with this code. I've got a couple of custom controls in a groupbox that i need to dispose. I tried the following foreach loop, but i get the error "Specified cast not valid". foreach (WorkersCtrl c in groupBox.Controls) { c.dispose(); } Thanks.
-
Listview ProblemHow can i load values into a listview from a event that is on another form than the listview. The listview is on a control on my main form, but I open a new form to change some values and when i click on save it should change the listview on the Main form. It will also be fine to load the values when the child form closes, but i can't get that to work either. I tried to run a function from the child form but nothing happens. thnxs.
-
Textbox input Focus?How do I give a Textbox input focus? I use the following code, but nothing happens: if (txtTextbox.CanFocus) txtTextbox.Focus();
-
Outlook and word reference??When i make a reference to excel it works fine, but when i try to make one to outlook or office i get the following error: "A reference to "'officePath'.Outlook.exe" could not be added. This is not a valid assembly or Com Component. Only components with extensions 'dll' and Com Components can be added. Please make sure the file is accesisble and that it is a valid assembly or com component" I am using Office 2003 professional. Does anyone know how to fix this??
-
Datagrid RowsIs there a way to set the rows of a datagrid to disable row resize??
-
How to change Datagrid column width???I'm trying this code, but I get the error :" Object reference not set to an instance of an object". The code: // Create new Table Style DataGridTableStyle ts = new DataGridTableStyle(); ts.MappingName = "Employees"; this.dataGrid1.TableStyles.Clear(); this.dataGrid1.TableStyles.Add(ts); // Assign New Width to DataGrid column this.dataGrid1.TableStyles["Employees"].GridColumnStyles["EmployeeName"].Width = newwidth; I set the DataSource for the Datagrid to dataset.Employees on the DataGrid Properties. Does anyone know what I'm doing wrong or what I could try??
-
PrintPreviewDialogI got this code a couple of days ago of the discussion boards, it worked for me. foreach (Control c in this.printPreviewDialog1.Controls) { if (c is PrintPreviewControl) { ((PrintPreviewControl)c).Zoom = 0.75; } } Don't know about the print button.