Hi, I have a classic asp page and I need to embed a asp.net application. I created a frame for the .net app. My problem is that the .net app height always changes and I dont want 2 scroll bars. Any ideas will be greatly appreciated. Thanks, Martin
Martin_
Posts
-
HTML Frames -
asp.net updatepanel with dropdownlists-can not select a different itemI have an updatepanel with 3 dropdownlist and the selected item from the 1st one binds the 2nd, the selected item from the 2nd binds the 3rd and so on. For example you select a state and then the 2nd ddl has the list of cities in that state. Well when a state is selected, the 2nd shows all the cities but the problem is that I can not select another city. The first on will always be selected and cb2_SelectedIndexChanged doesnt fire. Thanks, Martin <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" > <ContentTemplate> <asp:DropDownList ID="cb1" runat="server" AutoPostBack="true" /> <asp:DropDownList ID="cb2" runat="server" AutoPostBack="true" /> <asp:DropDownList ID="cb3" runat="server" AutoPostBack="true" /> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="cb1" EventName="SelectedIndexChanged" /> </Triggers> <Triggers> <asp:AsyncPostBackTrigger ControlID="cb2" EventName="SelectedIndexChanged" /> </Triggers> <Triggers> <asp:AsyncPostBackTrigger ControlID="cb3" EventName="SelectedIndexChanged" /> </Triggers> </asp:UpdatePanel>
-
Using SQL Reporting Services from VB.NET to render a reportHi, I'm trying to render a rdl report and save it as pdf automatically. I found some code to do this: http://msdn.microsoft.com/en-us/library/aa258532(SQL.80).aspx
http://www.tek-tips.com/faqs.cfm?fid=5918 but I'm having a hard time adding this reference: http://localhost/reportserver/ReportService2008.asmx?wsdl Thanks, Martin -
Help with saving a SQL Reporting Services report as pdfThe end goal is to create a nice looking report and save it as pdf. I have to format the report. This is a VB.NET background application without a GUI. At the end of the day, it collects data and saves it as an easy to read pdf. Thanks, Martin
-
Help with saving a SQL Reporting Services report as pdfThanks, but I have to be able to run the reports and save them. Martin
-
Help with saving a SQL Reporting Services report as pdfHi, I need help saving reports as pdf. Right now, the user has to run the report and save it as pdf manually. Is there a way to do this dynamically? Thanks, Martin
-
GridView that extends a class that has gridview common functions.Here is what I’m trying to achieve: I want to write a class that I can add gridview functions like Sorting and other common functions. Then have aspx pages that contain gridviews inherit from this class so I won’t have to write the same functions on every aspx page. Every time I need to add functionality to a gridview, I have to add it to all the gridviews. I want to be able to add it to only one class. I tried a usercontrol with a gridview but it didn’t work for me. Thank you, Martin
-
How to disable a button and still have the click event to fire.Hello again, I need help trying to get this to work. I want to disable a button when clicked, so that the user doesn’t clicking it again. function Form1_onSubmit() { Form1.btnSaveBudget.disabled=true; } ... However, when the button gets disabled then the click event won’t work. Protected Sub btn_Click(...) Handles btn.Click I need the click event to fire to do something. Thank you </x-turndown>
-
Number of rows in a gridview with paging and a filter.Thanks Joe
-
Number of rows in a gridview with paging and a filter.Good morning experts, How can I get the total number of rows in a gridview that has paging and a filter. ex. dw.RowFilter = strFilter 'dw is a dataview GridView1.DataSource = dw GridView1.DataBind() gridview1.Rows.Count gives me the number of records in the current page dw.Table.Rows.Count gives me the number of all records ignoring the filter. Thanks
-
How can I find which button was clicked?Thank you experts
-
How can I find which button was clicked?Hi experts. I just started programming in asp.net. Here is one task that I am having problems with. On a asp.net page there are 2 buttons(edit and save). I want to validate 2 fields only when the save button is clicked. If edit is clicked, then I don’t want to validate any fields. I thought that using javascript I can identify which button was clicked. Something like this: function Form1_onSubmit() { if(button clicked is btn save){ validate(); } else return true; } Thank you.
-
Which button was clicked within a form.Provably I didn't make myself clear,so I will describe exactly what I need to accomplish. On a asp.net page there are 2 buttons(edit and save). I want to validate 2 fields only when the save button is clicked. If edit is clicked, then I don’t want to validate any fields. I thought that using javascript I can identify which button was clicked. If (save button) then validate, else don’t validate. Thank you guys
-
Which button was clicked within a form.Hi experts Is there a way to know what button was click within a form? Here is my code: function Form1_onSubmit() { alert("button clicked") } ...
...
-
Row index for a link button in a gridIt did. Once again, thank you Ben. :)
-
Row index for a link button in a gridHow can I find the row index when a linkbutton is clicked within a grid?
Private Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand e.CommandArgument does not give me the row index. Thanks, Martin -
How can I get an attribute of a DropDownList item using javascript?Thanks Ben, That is a great article, now I don't have to Alert("I am here"); anymore. Martin
-
How can I get an attribute of a DropDownList item using javascript?This also worked var index =document.getElementById("cbBudget").selectedIndex; alert(document.getElementById("cbBudget").options[index].bLocked) Thanks Ben
-
How can I get an attribute of a DropDownList item using javascript?Hi, I added an attribute to the items of a DropDownList. cbBudget.Items(0).Attributes.Add("bLocked", true) cbBudget.Items(1).Attributes.Add("bLocked", false) Now I want to get the value of the selected item in the DropDownList using javascript. I tried something like this: document.getElementById("cbBudget").selectedItem.getAttribute("bLocked") but it doesn't work. The source looks like this: Class1 Class 2 Thank you for your suggestions.
-
Why SelectedIndexChanged doesn't fire ?Hi, can anyone tell me why this event doesn't fire? Protected Sub cb_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cb.SelectedIndexChanged 'do somehting End Sub Thanks, Martin