Quantcast
Channel: ASP.net MVC Awesome - jQuery Ajax helpers
Viewing all 345 articles
Browse latest View live

New Post: No "@Html.Awe" Namespace after installation via NuGet

$
0
0
Fine. And how I can / I have to use that Framework?

For example:

@Html.Awe().PopupActionLink().Name("p1")
        .LinkText("Open Popup")
        .Content("Hi, this is a popup")
        .Title("awesome title")
I've found absolut NO documentation about "MVC Awesome" version 1.9

New Post: No "@Html.Awe" Namespace after installation via NuGet

New Post: Awesome grid not showing data on initial loading

$
0
0
Awesome grid not showing data on initial loading after clicking refresh button on the grid the data is showing. I am working on HTML 5
My code is Below

View

@(Html.Awe().Grid("Installation_grid")
.Url(Url.Action("GetInitialisationParameters", "Home"))
.Columns(new[]
{
        new Column { Name = "Variable", Header = "Variable",PercentWidth=20 },
        new Column { Name = "Description", Header = "Description",PercentWidth=20},

        new Column { Name = "Value", Header = "Value",PercentWidth=60}
})
    .ShowGroupBar(false)
    .Groupable(false)
    .PageSize(10)

    )

Controller

public ActionResult GetInitialisationParameters(GridParams gridParams)
    {


        HttpClient client = new HttpClient();

        HttpResponseMessage InitialisationParametersResponse = client.GetAsync(ConfigurationManager.AppSettings["WebApiUrl"] + "Initialisation").Result;


        ReqInstallationList = JsonConvert.DeserializeObject<List<Installation>>(InitialisationParametersResponse.Content.ReadAsStringAsync().Result);

        return Json(new GridModelBuilder<Installation>(ReqInstallationList.AsQueryable(), gridParams).Build());










    }

New Post: Awesome grid not showing data on initial loading

$
0
0
check if you get any js errors, see if you get data on the first load (debug), check what data is coming from server to client (use firebug/chrome web tools/fiddler/charles)

New Post: Passing Dropdown value as parameter in Create Button

$
0
0
I have dropdownlist as like below.
@Html.Awe().AjaxDropdown("BatchProg").Parent("ProgramIns","progSeq")

Then I have a create button as like below.

<button type="button" onclick="@Url.Awe().PopupFormAction().Url(Url.Action("Create")).Success("refreshGrid")" class="awe-btn">Create</button>

I want to pass selected dropdown value as a parameter in create button . How do I do that.
Ex
<button type="button" onclick="@Url.Awe().PopupFormAction().Url(Url.Action("Create",new {batchseq=1})).Success("refreshGrid")" class="awe-btn">Create</button>

New Post: Passing Dropdown value as parameter in Create Button

$
0
0
in the next version the popups will have .Parent so you would do .Parent("BatchProg","batchseq")

but now you can only do this by reloading the create button via ajax every time the dropdown value is changed because you can only set the paramters on the server side

New Post: Nested Popup

$
0
0
I have edit popup dialog. In that I have a grid. While deleting the item in edit dialog grid I need to get a confirmation . But it closes the parent and opening. How do I do the nested popup's

New Post: Nested Popup


New Post: Nested Popup

New Post: Confused on Licensing

$
0
0
Hey o,

I've come across this while looking for something else :)

It looks very nice but I'm confused - I see this project and what looks to be a separate, commercial site referenced in several places.

Is there a free and paid version?

Thanks,

-k

New Post: Confused on Licensing

New Post: Problem with multilookup

$
0
0
Hi,

I have applied multilookup for a field.
When i load to the record, the field display correct values.
But when I click on lookup button, The selected values do not display in popup.
I have tried to debug then aware that, It only call function search, the function selected is not executed.

This is my html code:
@Html.Awe().MultiLookupFor(o => o.Reviewer).SearchUrl(Url.Action("Search", "ReviewerLookup")).GetItemsUrl(Url.Action("GetItems", "ReviewerLookup")).ClearButton(true)

Please give me some way to resolve it.
Thanks,
Hien Phan

New Post: Problem with multilookup

$
0
0
I think you're getting 404 for the selected url
you've indicated .SearchUrl .GetItems bot not .SelectedUrl

so it's looking for ReviewerMultiLookup/Selected which you probably don't have

you should see the 404 error in firebug/chrome web tools console

New Post: Problem with multilookup

$
0
0
Thanks o,
I have missed .SelectedUrl
That's good library

Released: 3.0 (Nov 03, 2012)

$
0
0
  • added Grid helper
  • added XML Documentation
  • added textbox helper
  • added Client Side API for AjaxList
  • removed .SearchButton from AjaxList
  • AjaxForm and Confirm helpers have been merged into the Form helper
  • optimized html output for AjaxDropdown, AjaxList, Autocomplete

works on MVC 3 and 4

Updated Release: 3.0 (Nov 03, 2012)

$
0
0
  • added Grid helper
  • added XML Documentation
  • added textbox helper
  • added Client Side API for AjaxList
  • removed .SearchButton from AjaxList
  • AjaxForm and Confirm helpers have been merged into the Form helper
  • optimized html output for AjaxDropdown, AjaxList, Autocomplete

works on MVC 3 and 4

New Post: MVC 4 and MVC Awsome v3.0

$
0
0
MButtazoni wrote:
Thanks, I was mixing the 1.9 installation instructions with the 3.0 trial download and almost gave up.

How long does the 3.0 Trial last? I want to rewrite some of my application to show the benefits of this package to the guys that pay the bills and I just want to make sure I have enough time to implement and demo the changes.
I deleted and redownload but it also show trial link and don't show data when I used it. I'm Vietnamese. It's difficult when I want to buy license.
Thank you very much

New Post: MVC 4 and MVC Awsome v3.0

$
0
0
don't forget to replace the dll and js with the ones from the download, clear cache, refresh browser

New Post: Does not appear to work with MVC4

$
0
0
I've attempted the installation of this multiple times and in MVC 4 the Html helper is not recognized. This included the nuget installation on an MVC 4 basic project and it didn't work either.

I like the concept as a dependent dropdown using an update panel is so clean and easy to implement on webForms and very messing in MVC. This library would be a great addition to MVC but ti looks like I'll wait until Microsoft put out a free version that actually works.

New Post: Does not appear to work with MVC4

$
0
0
hi,
the nuget one is version 1.9 (free open source, not the latest)
but it would still work on mvc4,
in order for it (or anything else that is build against mvc3) to work on mvc3 you need to make sure that you have this in web.config:
<configuration>
    ...
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  <dependentAssembly>
    <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  </dependentAssembly>
</assemblyBinding>
</runtime>
    ...
</configuration>
also don't forget that you have to include jquery, jqueryUI, and awesome js files as well as the css files

you can see the installation instructions here: http://aspnetawesome.com/learn/mvc/Installation

you can also download the prodinner demo application which is on mvc4: http://prodinner.codeplex.com/

or download the asp.net mvc awesome demo form here: https://awesome.codeplex.com/releases/view/97222

we also recommend to have a look at video tutorials: http://aspnetawesome.com/learn/mvc/VideoTutorials
Viewing all 345 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>