Tagged Questions
0
votes
0answers
7 views
GeoLocation, then a C# event - how to implement
I'm currently trying to implement a GeoLocation in my asp.net project. The code will get the user's location using the geolocation and update the latitude and longitude labels. Once the longitude ...
0
votes
0answers
13 views
Making a container to distribute over all the window screen
I am working on a web api, in UI the container is just distributed to certain amount of browser window where there is content but I want to distribute it all over the browser regardless of the ...
0
votes
1answer
49 views
Using Javascript to submit a form
im working on a project using mvc asp.net and what i try to do now is to submit a form using javascript.
the javascript works and submit my form.
My problem is that i have a value in my button tag ...
2
votes
1answer
32 views
Page throws JavaScript runtime error: 'Function name' is undefined. IE10 only
While working on IE10, i have found that the javaScript functions which are registered on called from the code behindare throwing exception "JavaScript runtime error: 'function name' is undefined".
...
0
votes
2answers
26 views
How do i show dialog from code behind file in asp.net?
I am working on a web application in which multiple dialogs opens on one another.How to attach and show dialogs from cs file in asp.net web application so that the code becomes more manageable.
0
votes
1answer
24 views
Cannot assign string array to an asp:HiddenField
I’m trying to assign the array (globalaProviders) content to an asp hidden field (aProvidersHdn) and obtain the values in the server once a WebLinkButton (custom control) has been clicked.
In the ...
0
votes
0answers
30 views
Undefined jscript in javascript
I have created an ASP.Net application. I am using a javascript which is written in a separate file. I am using Var myvariableName ={} in javascript file.
I have included this file in MasterPage and ...
0
votes
3answers
43 views
How to show and hide a button using javascript?
I tried to show and hide a button in <fieldset> by a javascript function.But it is not working.I did not find my mistake.
My FieldSet :
<fieldset class="buttons">
<dx:ASPxButton ...
0
votes
3answers
21 views
Jquery Dialog calling
When i click on button to show the message i get one MessageBox that's normal but when i call the Jquery Dialog for second time i get two MessageBoxs! and when i call Jquery Dialog for third time i ...
0
votes
1answer
19 views
How to call a function on Ok click of a confirmation pop up
When I click on Image button , I get a confirmation pop up to select either Yes or No.
After clicking Yes, I want to call a function : objOwn.CloneIssue(Eval("id_tbl_issue"))
Can you please suggest ...
0
votes
0answers
6 views
Click and scrape aspx page using BS4 python
I am trying to scrape website by clicking on a button. I tried using firebug and google chrome console. I could not catch the request that it is sending in order to avoid clicking on the button. I am ...
0
votes
2answers
30 views
javascript confirm message box in usercontrol
I have a usercontrol in which i have placed a javascript function which shows the confirm message box. That usercontrol is further called on aspx page.
the function i wrote is :
<script> ...
0
votes
0answers
14 views
Forms authentication, 302 and cookies disabled = infinite loop
We have a web site which uses Forms authentication. The site uses federated authentication so that the login page redirects to a partner website and also consumes partner responses and establishes ...
0
votes
1answer
13 views
Window.Print makes page background with opacity turn to white
I have asp.Net webpage with some controls on it like the textbox , radiobuttons etc.
This page is the Print Page. So by default when this page is opened the javascript on the page does a window.print ...
1
vote
0answers
5 views
Date validation using MaskedEditExtender
I am using Ajax for maskededitextender as well as javascript for my date field. Now in that if i insert date like 12/12/2013 then it allows me to insert. But if i insert 13/12/2013 or 12/13/2013 ...
0
votes
1answer
16 views
How to Add Custom Fields to a Json Result - ASP.NET MVC
I am developing an admin page that able to edit registered users info. When I select a user from a dropdownlist, the users current info is filling to edit fields. I made it with Javascript and Json.
...
1
vote
1answer
25 views
How to reload an iframe using anything but loading without blinking
I load Iframe by using a javscript code but it blinks everytime it loads. How can I avoid blinkingon loading of Iframe
This is my code
<script type="text/javascript">
setInterval(function () ...
0
votes
2answers
26 views
How to load an Iframe without flickering
This is my Iframe
<iframe id="iframe1" frameborder="0" style=" width: 379px;
height:110%;" src="frmChatRequest.aspx"
scrolling="no" runat="server">
</iframe>
This is the meta ...
0
votes
2answers
24 views
How to get id of controls within UpdatePanel in asp.net
As I'm new in asp.net development and this could be a silly question but I'm asking this question here.
Id of controls like button, textbox in update panel is not visible in client side debugger
and ...
0
votes
1answer
17 views
List of statement IE 10/11 doesn't support anymore
Sorry but I have a very generic question and need the experties of the people who have done this type of activity before. There is an old website written in Asp.Net 2.0 with treditional javascrip, ...
-1
votes
1answer
22 views
Hide/Show table in UpdatePanel in asp.net
I am developing a web application based on ASP.NET.
I have one UpdatePanel and inside that UpdatePanel, there is a Table and in that table I have one DropDownList and One one more table. So my ...
-4
votes
1answer
23 views
can any one give a javascript that will allow ChekBoxList item to get check only when its previous all items have been checked [on hold]
can any one give a javascript that will allow ChekBoxList item to get check only when its previous all items have been checked. for example if a ChekBoxList has 2 items, the item 2 gets enabled only ...
1
vote
2answers
47 views
appending strings in JS
I need little help with JS function:
On the Image that I attached there is 3 textboxes and a button I want with JS
to Take the first letter that is in the FirstName text box + the full text in the ...
0
votes
1answer
32 views
ASP.net html element onclickserver not work
i have <ul> that contains this elements :
<li><a id="testClick" href="#" runat="server" onserverclick="btnSwitch_Click">Click This</a></li>
and that works, that html ...
3
votes
2answers
54 views
Add different HTML according to the browser
I am using Slider in my webApp but it crashes in IE7, so i want to stop slider in IE7. Here is the ASPX code
<div id="divIE7">
<section class="masterbanner cycle-slideshow" ...
0
votes
3answers
52 views
How do I put javascript programmatically into <head> block?
I need to put some javascript absolutely in the <head> block of the page -- it must execute before the rest of the page because a possible outcome of the script is to redirect to a different ...
1
vote
1answer
18 views
Passing a HTML value to use in a JQuery UI dialog?
I have the following scripts:
$(function (movie) {
$("#dialog").dialog({
autoOpen: false,
show: {
effect: "blind",
duration: 500
...
-1
votes
0answers
26 views
Avoid delay on asp.net large data transfers
I am returning a large amount (~2MB) of HTML from my server to the client so that it can be inserted as inner text in a Paragraph tag on the page. I am currently using call back scripts to communicate ...
1
vote
0answers
8 views
How To Get Name of Column For Cell Selected In Telerik RadGrid?
How To Get Name of Column For Cell Selected In Telerik RadGrid ?
Id Name LastName Telephone
1 jo jol 098
2 mo mol 987
3 fo fol 394
4 do doo 234
5 ...
0
votes
1answer
14 views
asp.net gridview in javascript modal won't persist on changing index
I have an asp.net gridview in a javascript modal. If there are multiple pages in the gridview and I click on the next page (lets say 2 pages), the modal disappears. I want it to persist while the user ...
0
votes
2answers
29 views
“Error executing child request for handler 'System.Web.UI.Page'.” while adding user control using JQuery
I am loading ASP.NET user control dynamically using JQuery:
function OnSuccess(response) {
var xmlDoc = $.parseXML(response.d);
var xml = $(xmlDoc);
pageCount = ...
-1
votes
2answers
49 views
Need to be able to update url in one location [on hold]
I am new to programming and I need to update a large list of links and will need to do so every so often. I was instructed to put the links in one spot so that they would be easier to update next ...
0
votes
0answers
14 views
Connect Database to aspx.net vb form VS2012
In Visual studios vb webforms, I have a database .mdf and a dataset.xsd and I am trying to connect to this webpage so that when you enter employee ID the fields populate and can be edited by ...
0
votes
1answer
18 views
Javascript to bind dropdown working in all browsers except for IE8
on a page in my asp.net application (VB server side) I have a dropdown that calls a javascript function when changed. The javascript function gets the value of the selected item and passes it to the ...
0
votes
0answers
8 views
Getting a snapshot image of a video using opentok
What is the parent DIV for the img? The tutorial on their website doesn't really explain anything about this code so I'm wondering how it actually works.
var imgData = publisher.getImgData();
var img ...
1
vote
1answer
26 views
Get variable value from aspx and use it in code behind
I am having a little issue. I have a drop down list which can have multiple values selected. I did that by simply adding a $('#id').attr('multiple','multiple');
I know there is a simple way of ...
-1
votes
1answer
45 views
How to pass dropdownlist Id as parameter to javascript function?
On the client side I need to call javascript function "changeSchool" with selector's Id as parameter, as soon user selects new option (school in this case). How to pass selector's Id to such ...
1
vote
1answer
26 views
How do I perform an action before any view(or partial) is rendered?
My problem is simple. I want to know if there is a method(or something) that is automatically called by default(by ASP.Net engine) before any view(or partial) is rendered. I like to intercept it to ...
-2
votes
1answer
23 views
Referance error showing, ReferenceError: $ is not defined
I have a gridview cotrol which is [populated from database using c#.The source is
<asp:GridView ID="grdAddressbook" runat="server" AutoGenerateColumns="False" width="100%" Border="0px" ...
0
votes
4answers
44 views
jQueryUI Calendar cells in C#
I am trying to implement a calendar control and using jquery calendar for it.
I want to make some date clickable. By default all dates in the UI are click able. I only want to make those dates click ...
0
votes
1answer
28 views
asp.net Jquery.ajax retaining JSON.Parse unexpected character error
There are many questions based on this problem and i've read almost every one of them but none of their solutions seemed to work.
I've tried changing the data syntax for almost every possible one and ...
0
votes
2answers
35 views
How to parse data in javascript file through .net?
How to parse data in a java script file through .net .
I have an url like this :
http://..../xml/en/file_1.js
The data in my .js file is like this :
getdate(20140802,'','','',10,5);
...
-2
votes
0answers
34 views
How to store clicked images in asp.net c#
I have a page which has list of images. i want to store the images which image is clicked and should be visible in another div.
i am using asp.net
please any Help!!
<ul id="pg_photos" ...
0
votes
0answers
20 views
Floating feedback form in asp.net
I am displaying a floating feedback form in my website and using JQuery to handle the slide in and out functionality. Following is the code.
<%@ Page Language="C#" AutoEventWireup="true" ...
0
votes
4answers
40 views
Event on other page not being fired and gives server error
This is How I load an aspx page in a div
<script type="text/javascript">
$(function () {
setInterval(function () {
$('#div1').load('frmChatRequest.aspx', function () {
...
0
votes
0answers
9 views
How to use Leaflet cluster plugin
I downloaded the dist dir from leaflet at Girhub
made a site on IIS so that I can reference it but I can not even follow the examples on the demo page.
I'm using asp.net to build my site and have the ...
1
vote
2answers
81 views
Javascript function to select/deselect check all check box in radgrid header template
Please some one provide me the java script function to select/deselect check all check box which is in the header template, when i checked a check box in item template in template column of rad grid.
...
0
votes
1answer
20 views
Event of controls on othe page not being fired and gives error
This is How I loadan aspx page in a div
<script type="text/javascript">
$(function () {
setInterval(function () {
$('#div1').load('frmChatRequest.aspx', function () {
...
0
votes
4answers
41 views
Open DropDownList when mouse over
I have a DropDownList in a updatepanel and bind it in code behind.
<span id="dropdown" class='css-select-moz groupTitle' style="margin-right: 880px; padding-top: 0; margin-top: 0px; background: ...
0
votes
4answers
25 views
Compressing scripts and styles and combining all js and styles references into single reference to optimize the sites performace
I've multiple scripts and styles references in my asp site. When I observe my sites network instances it is doing 46 requests which is really too much and affecting my sites performance tremendously. ...