0
votes
0answers
6 views
Calling a server side JsonResult method from JavaScript
I need to call the following JsonResult method:
JsonResult Delete(int pubId)
{
try
{
using (var ctx = new LibsysLiteContext())
{
var p = ...
0
votes
0answers
11 views
Updatepanel does async postback on button click, but not when using click() from javascript
I have an updatepanel that async postbacks as expected when I click the button by hand, but when I try to call the click from javascript, it does a full page postback.
I am using this on Page_Load in ...
0
votes
0answers
11 views
Tiny MCE editor display doesn't work in IE9
When I change the font size or font style in tiny mce editor and hit save and view my page, it displays correct font size and style on the form .
When I open editor again the editor doesn't display ...
0
votes
0answers
12 views
Select elements OptGroups from options with JQUERY
I essentially get a standard select back from the server. If the option value is 'GROUP' I need to change that option to an option group . If the option value is 'GROUPEND', I need to change it to ...
-5
votes
0answers
16 views
how to put onmouse over on link button [on hold]
i have tried running this code:
<script type="text/C#">
function fontchange(a)
{
a.style.fontsize="30ppx";
a.style.fontcolor="maroon";
a.style.backgroundcolor="black";
}
...
2
votes
2answers
35 views
Capturing image with webcam
I'm working on a project with Asp.net MVC4. I need to take pictures with a webcam. This application should be configurable with any tablet.
Currently runs the application on desktop, on tablets no.
...
0
votes
0answers
6 views
Multilevel RadTabStrip with RadMultiPage
I have a RadTabStrip that works perfectly fine with the RadMultiPage on the page. After adding a second level of tabs to one of the tabs, I am unsure how to get pages in the RadMultiPage working with ...
0
votes
0answers
14 views
A replacement for window.onbeforeunload in javascript or jquery
Currently the functionality in my asp.net project is as follows:
A user controls is opened in showmodaldialog. The user does some functionality. But as the showmodaldialog is an window, it has ...
0
votes
0answers
12 views
dynamically register javascript in ascx file
I am trying to add masking to the user controls. The user controls are loaded in the ASCX file . So, in the ascx.vb file I have added the following statement:
ScriptManager.RegisterStartupScript(Me, ...
0
votes
0answers
20 views
Javascript breaks on mobile device (iphone 4s), But gets fixed once “request desktop site” is enabled
I have a site that uses knockout.js and it works perfectly fine on a PC but when i try and open it on my mobile device javascript kinda breaks and the site stops working.
When I open it with google ...
1
vote
1answer
24 views
Clear title property while JQuery tooltip shows
I am using some very simple JQuery to create a hovering tool tip using text stored in elements' title attribute. It's working okay, but I need to stop the browser's default title behaviour occurring ...
0
votes
1answer
12 views
Microsoft JScript runtime error: Unable to get value of the property 'get_isLoading': object is null or undefined
I am trying to print my report viewer report using the code below and I am getting a error that Microsoft JScript runtime error: Unable to get value of the property 'get_isLoading': object is null or ...
4
votes
2answers
54 views
How to send and retrieve data from web method using JQuery Ajax Call?
I have a text box and a button next to it. I want to send the content of textbox through Jquery ajax call to webmethod and get back the upper case value of the same and display that in alert. So far i ...
0
votes
5answers
43 views
ASP.NET MVC RAZOR ActionLink click
I have this action link in view:
@Html.ActionLink("Edit", "Edit", null, new {@id="editLink", @class="button"})
I would like to call a java script method to make the URI at runtime from my Selected ...
0
votes
1answer
18 views
Controls are not positioning correctly when displaying validation summary on top of web page
I am getting weird problem in using custom validator function in asp.net page and showing validation summary on the top of web page using CSS Styles.....
and this is the screen shot before clicking ...
-2
votes
1answer
14 views
how to autofill and enable submit and retrieve results from an external website
For example there is external website to check the name of person from registration number.Now I want to write a code where I start with specific number and increment it and each time fetch the record ...
1
vote
1answer
31 views
Preventing page refresh from button in ASP.NET
I'm trying to display GridView on a jquery dialog. To bind data into gridview, i'm clicking button via jquery as below.
$('#' + '<%= btnBindGridViewData.ClientID %>').trigger("click");
But ...
0
votes
1answer
21 views
Upload images to Google App Engine
I am currently hosting the images of my website on Google App Engine.
So, an image on my website will have this kind of url: http://my-website.appspot.com/my-image.jpg
I uploaded those images myself, ...
0
votes
0answers
10 views
Send Unicode characters into mail via Default Email Client Program
In a javascript method, data containing unicdoe characters is supposed to be mailed via default email client program.
Below method is used:
function SendMail() {
try {
var mailAddress = ...
0
votes
2answers
38 views
Fix Header Row of ASP.NET GridView
Before getting in details, I would like to mention I've tried various solutions from stackoverflow and net too. But, none suitable in my scenario. So, I provided detailed information.
In an ASP.NET ...
0
votes
2answers
22 views
How to fire a method in aspx.cs file using ajax
I wanna call a method on PersonalDetails.aspx.cs page using Ajax. I have tried to it using following code. but it doesn't worked.
I just wanna fire the method included in the PersonalDetails.aspx.cs ...
2
votes
0answers
48 views
Is there any difference/advantage/disadvantage in using Web Methods in aspx.cs instead of asmx.cs?
I know that Web Methods are light weight and gives you speed since there is no post back. I found that a Web Method can be added to a .aspx.cs just like in .asmx.cs web service file. Is there any ...
-1
votes
2answers
32 views
how to run a video clip using asp.net?
I want to embed video player in asp.net which can support multi video formats and can run same format clip in different browsers.
i.e mp4/ogg clip can be played on firfox as well as on chrome
0
votes
0answers
29 views
How to implement row collapse/expand in Grid?
I'm working on application develop using ASP.NET C#, I wanted to implement row collapse/expand when click on "--" and "+" image onTelerik RadGrid, the purpose is to show latest version of data, and ...
-1
votes
0answers
14 views
302 error when uploading a file to server
I am using SWFupload and when I try to upload file to server in FireFox and Opera it generates error 302. However, with chrome it works perfectly fine. What is wrong?? is there something going on in ...
-2
votes
2answers
44 views
Javascript Runtime error: $ is undefined
I have added script in my Default.aspx page. I am getting following error.
0
votes
1answer
23 views
KEYUP Event in JQUERY for ASP.net Textbox
How to make KEYUP event in JQuery for a textbox on ASP.net webpage ? (not KEY PRESS event)
1
vote
2answers
40 views
submit button onclick javascript rendering diffrences from asp.net 2.0 to 4.0
I have the following button in an ASP.Net web form:
<asp:Button id="btn_submit" text="Submit (Click only Once)" OnClick="process_form" runat="server" />
In the page code, I have the following ...
0
votes
1answer
56 views
How to change the querystring on the same page without postback
I want to change the querystring on the page where I write notes. When I save the note I want the querystring to have the entry for that note. So after the initial save the user can update based on ...
0
votes
3answers
55 views
Why Jquery is not working with asp.net?
This doesn't work and I don't understand why, I have tried that code on W3schools and that works, i think the problem might be the reference or something, I'm new to ASP.NET
ASP Code(Master Page)
...