Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Martin_

@Martin_
About
Posts
20
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • HTML Frames
    M Martin_

    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

    ASP.NET csharp html asp-net help

  • asp.net updatepanel with dropdownlists-can not select a different item
    M Martin_

    I 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>

    .NET (Core and Framework) csharp asp-net sysadmin help tutorial

  • Using SQL Reporting Services from VB.NET to render a report
    M Martin_

    Hi, 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

    .NET (Core and Framework) csharp database wcf com

  • Help with saving a SQL Reporting Services report as pdf
    M Martin_

    The 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

    ASP.NET database help question

  • Help with saving a SQL Reporting Services report as pdf
    M Martin_

    Thanks, but I have to be able to run the reports and save them. Martin

    ASP.NET database help question

  • Help with saving a SQL Reporting Services report as pdf
    M Martin_

    Hi, 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

    ASP.NET database help question

  • GridView that extends a class that has gridview common functions.
    M Martin_

    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

    ASP.NET algorithms

  • How to disable a button and still have the click event to fire.
    M Martin_

    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>

    ASP.NET help tutorial

  • Number of rows in a gridview with paging and a filter.
    M Martin_

    Thanks Joe

    ASP.NET question

  • Number of rows in a gridview with paging and a filter.
    M Martin_

    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

    ASP.NET question

  • How can I find which button was clicked?
    M Martin_

    Thank you experts

    ASP.NET question csharp javascript asp-net

  • How can I find which button was clicked?
    M Martin_

    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.

    ASP.NET question csharp javascript asp-net

  • Which button was clicked within a form.
    M Martin_

    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

    ASP.NET question

  • Which button was clicked within a form.
    M Martin_

    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") } ...

    ...

    ASP.NET question

  • Row index for a link button in a grid
    M Martin_

    It did. Once again, thank you Ben. :)

    ASP.NET question css database design

  • Row index for a link button in a grid
    M Martin_

    How 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

    ASP.NET question css database design

  • How can I get an attribute of a DropDownList item using javascript?
    M Martin_

    Thanks Ben, That is a great article, now I don't have to Alert("I am here"); anymore. Martin

    ASP.NET question javascript

  • How can I get an attribute of a DropDownList item using javascript?
    M Martin_

    This also worked var index =document.getElementById("cbBudget").selectedIndex; alert(document.getElementById("cbBudget").options[index].bLocked) Thanks Ben

    ASP.NET question javascript

  • How can I get an attribute of a DropDownList item using javascript?
    M Martin_

    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.

    ASP.NET question javascript

  • Why SelectedIndexChanged doesn't fire ?
    M Martin_

    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

    ASP.NET question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups