Search

You searched for the word(s): userid:653334

Matching Posts

  • issues with AJAXModal Popup

    im developing a website using ASP.NET 2.0 and using AJAX control toolkit. I am using alot of usercontrols in my application. I extracted/copied the modal popup example into the usercontrol but when I click the linkbutton to change the paragraph style.... nothing happens. it does not appear to show the dialog. The only error I get is the javascript error "Sys is undefined" Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET
  • Simple MVC problem

    I am new to MVC and have done small bits in the past but this is kind of urgent and I am taking over a project from someone who has left. I have a page. in this page, Data will be gathered from the database (model objects) and to be displayed on the page. so, for each city, I want to display the city but also along with it, associated "people" in that city. Now, I want to display the people in a dropdownlist. Further more, when they press the "save" button, I want the data to
    Posted to ASP.NET MVC (Forum) by ahmedilyas on 10/8/2009
  • Re: Simple MVC problem

    thanks. OK so how would I then present data into a dropdownlist?
    Posted to ASP.NET MVC (Forum) by ahmedilyas on 10/8/2009
  • Re: Simple MVC problem

    thanks. I do understand this. I have this: <% = Html.DropDownList( "DropDownListStyles" + currentCityPosition.ToString(), new SelectList (styles, "Id" , "Name" )) %> binds fine. great. Now, I want a button or something on each row that it is rendering out the cities, so when the item in the dropdownlist as above is changed, I can press this button, and grab the selectedvalue of the dropdownlist. how can I do this?
    Posted to ASP.NET MVC (Forum) by ahmedilyas on 10/8/2009
  • Re: Simple MVC problem

    yes, I would very much appreciate any codes you have of this. So I need say a save button on every row that is being rendered. This save button needs to take the selectedvalue from the dropdownlist. There is also a city on this row which has an ID but we are showing the CityName. So there will be multiple buttons here (one save per row) and I guess an action needs to be mapped to it? The parameters needed to be passed again I guess are cityID and also the selectedvalue of the dropdownlist?
    Posted to ASP.NET MVC (Forum) by ahmedilyas on 10/8/2009
  • Re: Simple MVC problem

    thank-you, that certainly has helped big time for me. I am so used to the standard ASP.NET ways.... Now as for the controller, what method should exist for the submit button, what parameters for the method and also any attributes for that signature?
    Posted to ASP.NET MVC (Forum) by ahmedilyas on 10/8/2009
  • MasterPages and css issues

    I have an HTML page designed for me and all works fine, now I want to use this template on other pages in ASP.NET so I am using a Masterpage. thing is, the menu items do not seem to be appearing at all in the masterpage or infact, anything at all to be honest apart from a couple of images I have placed in a contentplaceholder in the Default.Master. in the page that inherits the masterpage, sure, I can write content there but the menu items and everything else are never shown - no idea why. MasterPage
  • Re: MasterPages and css issues

    this actually is in there. I figured out the problem... it was relating to paths etc.... The problem I now have is, I have a "header" contentplaceholder and a "footer" contentplaceholder and also in between a "main content" placeholder. In the ASPX file, I have added the Content for the MainContent placeholder but it appears at the top of the page instead of in the middle of the page. Any ideas? or do I need to specify alot of line breaks/styling in the master page for
  • Re: Paging with "dots" as navigation

    Thanks. I did see this article before but not quite what I am after but i will give it another shot - the repeater control is different than the datalist control, but lives in the same "family" of databinding controls :-)
    Posted to Web Forms (Forum) by ahmedilyas on 6/23/2009
  • Paging with "dots" as navigation

    how do you create a system where you can show say 3 pages numbers and dots before and after the page numbers so when clicked, it will go to the appropriate page? I have the paging working, thats all fine but now I want to do the dots like so: ... 3 4 5 ... then later on when they press the forward dots: ... 7 8 9 ...
    Posted to Web Forms (Forum) by ahmedilyas on 6/18/2009
Page 1 of 32 (314 items) 1 2 3 4 5 Next > ... Last »