Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "bilalhaidar"

Answer

Hi Ismail,

In my case, I am uploading a model including a file. Once the user finishes filling the form and uploads a file, I need to submit once to server.

How can I access the HttpPostedFile in an AppService? Any way of doing so?

Thanks

So I let the user sign in to the app, then on the MVC level I detect that the user is on mobile/tablet, redirect to another angular app? I could import the layout from the current app and strip down many screens and resources (js/css)?

Any good reference online you can point me to on how to do this process between MVC and Angular?

Thanks

I'll find out how and share it here in case anyone needs to use kendo ui.

Any updates please? Thanks

Thanks. I will use that.

One more issue.

With the daterangepicker used by default in the framework, there was a tight integration with moment. For instance I can define locale.format = 'L' for the daterangepicker and works smoothly with moment.

Now, how could I make the kendo ui datepicker for instance integrate with moment?

I saw a file called moment-with-locale.js. Seems 'L' is defined in that file for each culture to be different. So, when changing cultures, L will be different for each culture.

I dunno if my analysis is correct, but how would I extend for instance another datepicker in this case kendo ui to make use of that also?

Thanks

Thanks Jeff :-) I totally forgot about that.

Thanks. Files are showing now. However, the widget is not. All what I get is a textbox for the following widget:

<input kendo-date-picker
                   ng-model="dateString"
                   k-ng-model="dateObject" />

Files needed to run the above is:

<link href="/libs/kendoui/css/kendo.common-material.min.css" rel="stylesheet"/>
<link href="/libs/kendoui/css/kendo.material.min.css" rel="stylesheet"/>
<script src="/libs/kendoui/js/kendo.core.min.js"></script>
<script src="/libs/kendoui/js/kendo.calendar.min.js"></script>
<script src="/libs/kendoui/js/kendo.popup.min.js"></script>
<script src="/libs/kendoui/js/kendo.datepicker.min.js"></script>
<script src="/libs/kendoui/js/kendo.angular.min.js"></script>

This is an example of using a Calendar. <a class="postlink" href="http://dojo.telerik.com/IRuSi">http://dojo.telerik.com/IRuSi</a>

Thanks

My point is to strip down all framework screens. I will then need to add few HTML Forms only. Keeping in mind that I want to let my users sign-in to the app using the same db.

Do you think I shall find a way to detect users on tablets or mobiles, redirect them to another angular app, whereby I have a new layout screen, without having any of the existing screens, etc.?

Thanks

Hi, I am trying to include Kendo without affecting any css/js in the app.

I created under libs folder this structure:

libs/kendoui/css/{css files here} libs/kendoui/js/{js files here}

Then, in the AppBundleConfig I added this:

private static void AddAppCssLibs(BundleCollection bundles, bool isRTL)
        {
            bundles.Add(
                new StyleBundle("~/Bundles/App/libs/css" + (isRTL ? "RTL" : ""))
                    ...
                    .Include("~/libs/kendoui/css/kendo.material.min.css", new CssRewriteUrlWithVirtualDirectoryTransform())
                    .ForceOrdered()
                );
        }

Also, I added to the bundle of js the following:

bundles.Add(
                new ScriptBundle("~/Bundles/App/libs/js")
                    .Include(
                        ...
                        "~/libs/kendoui/js/kendo.core.min.js",
                        "~/libs/kendoui/js/kendo.calendar.min.js",
                        "~/libs/kendoui/js/kendo.popup.min.js",
                        "~/libs/kendoui/js/kendo.datepicker.min.js"
                  ).ForceOrdered()
                );

The files are not showing in the HMTL at all.

Anything still missing?

Thanks

Showing 281 to 290 of 461 entries