Search found 9 matches

by shnar
Tue Jan 22, 2019 6:46 pm
Forum: Components
Topic: Child component override tile click?
Replies: 3
Views: 288

Re: Child component override tile click?

Just for future reference, the event I needed to stopPropagation in was the mousedown event, not the click event.

-shnar
by shnar
Thu Jan 17, 2019 5:58 pm
Forum: Components
Topic: Input with search button not showing when ajaxed in
Replies: 4
Views: 213

Re: Input with search button not showing when ajaxed in

That makes sense. But one other issue I'm having is the Search button itself just isn't appearing. Is there something I need to do after the ajax call to get that to appear? Or did I set a property value wrong?

-shnar
by shnar
Thu Jan 17, 2019 2:16 pm
Forum: Components
Topic: Input with search button not showing when ajaxed in
Replies: 4
Views: 213

Input with search button not showing when ajaxed in

I'm ajaxing a <form> into my page, and it only has one input that I'd like to have a search button on and no clear button. I have this as my code: <form action="javascript:" onSubmit="orderSearch()" style="margin:10px;"> <input type="text" id="OrderSearchOrderNumber" name="OrderSearchOrderNumber" da...
by shnar
Mon Dec 03, 2018 5:03 pm
Forum: Components
Topic: Child component override tile click?
Replies: 3
Views: 288

Re: Child component override tile click?

Thanks, worked like a charm. I kind of thought this would be a normal html/javascript question, not a metroui question.

-shnar
by shnar
Thu Nov 29, 2018 7:28 pm
Forum: Components
Topic: Child component override tile click?
Replies: 3
Views: 288

Child component override tile click?

I have a table on a div with overflow:auto enabled on a Tile that I want when a user clicks on it (say for example clicks on a TH or on the Scrollbar, etc) that it does *not* invoke the Tile click. Is that a possibility?

-shnar
by shnar
Thu Nov 29, 2018 7:26 pm
Forum: Components
Topic: [SOLVED] Make a Tile a Link?
Replies: 2
Views: 241

Re: Make a Tile a Link?

Worked great, thanks.

-shnar
by shnar
Wed Nov 28, 2018 3:19 pm
Forum: Components
Topic: [SOLVED] Make a Tile a Link?
Replies: 2
Views: 241

[SOLVED] Make a Tile a Link?

I have a need that to make a Tile a link to another page. I added some javascript code on the onclick event to navigate to the page and that works fine, but it's not acceptable to the client since they want to "right-click, open-in-new-tab". I tried adding an <a> tag surrounding the <div data-role="...
by shnar
Wed Nov 28, 2018 3:16 pm
Forum: Components
Topic: [SOLVED] CalendarPicker not respecting date format
Replies: 2
Views: 239

Re: CalendarPicker not respecting date format

That worked. Thanks a bundle.

-shnar
by shnar
Mon Nov 26, 2018 1:16 pm
Forum: Components
Topic: [SOLVED] CalendarPicker not respecting date format
Replies: 2
Views: 239

[SOLVED] CalendarPicker not respecting date format

I'm attempting to use the CalendarPicker and want it to display month/day/year. Here's my C# Razor code: <div class="form-group"> <p>End Date:</p> <input type="text" name="endDate" value="@(((DateTime)ViewBag.EndDate).ToString("MM/dd/yyyy"))" data-role="calendarpicker" data-input-format="%m/%d/%y" /...