.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Making a link work in a JS function

Posted By:      Posted Date: October 17, 2010    Points: 0   Category :ASP.Net


I'm new to jQuery, but learning fast, and loving the new functionality!
I'm using a Flash upload component that all works fine, and once it's complete (file uploaded) it calls the following function:
function EAFlashUpload_onResizedImagesUploadEnd() {

View Complete Post

More Related Resource Links

SQL Server and MapPoint: Making MapPoint 2010 and SQL Server Spatial Work Together

While SQL Server is a good repository for geospatial data, it doesn't communicate with MapPoint as well as it could. So our geo-data experts show you how to read point and polygon objects from SQL Server and render them in MapPoint and how to write points and polygons back to SQL Server using Entity Framework 4.0 included with Visual Studio 2010.Eric Frost, Richard MarsdenMSDN Magazine September 2010

making page work after DB update in Form View

I could really use some help with this issue. I have a DropDown that allows the selection of a Category Code. The selection populates a Gridview with details of records matching the Category Code. I have only enabled the Select option on the Gridview, which when clicked populates a Formview in Edit Mode with the full record information. When editing is complete and the Update link is clicked, I can not get the page to properly reload/postback. When another Category Code is selected from the Drop Down the Gridview does not report a list of records.   Any help would be greatly appreciated.   Thanks,              

Why sum function work fine in infopath and not in web browser

Hi,   I used the sum function in infopath, it work fine in infopath client, but the same open in web browser it not working correctly, it show the double the value. why it happen?

How can i generate dynamic TOC or TOC as link while making .rdl in SSRS.


hello ,

well  how can i generate a Table of content dynamically or TOC as a link so that while clicking in the TOC section it goes to the same page in pdf report output.


so can any one help me how to make TOC in .rdl design in SSRS ...plz help me out soon.



How can I adapt the Javascript function below to work with my TextBoxes?


Hi all,

How can I adapt the Javascript function below to work with my TextBoxes?

<head id="Head1" runat="server">   
    <title>Untitled Page</title>   
    <script type="text/javascript">   
        function f(ta_id)   
            var d=document, ta, rng;   
                if(ta && ta.createTextRange)   
                 <asp:TemplateField HeaderText="Comments" SortExpression="Comments">
                      <asp:TextBox ID="txtBoxComments" runat="server" Width="800px" MaxLength="1000" ReadOnly="true" Rows="1" Text='<%# Eval("Comments") %>'
                       TextMode="MultiLine" Wrap="true" onscroll="f('txtBoxComments')" />

When I look at the "View Source" I

error calling javascript function in asp link button


I am using a asp link button in grid template field which calls a pop up,i need to find the link button's control in cs page.

my link button code

<asp:LinkButton runat="server" ID="hlQName" Text='<%# Eval("QuestionnaireName")%>' OnClientClick

Sorting function does not work fine -- Please help



          We have few SSRS 2008 reports.Some of the reports are plain simple table reports and few reports are grouped reports ( table reports). The issue is, sorting function works fine in simple reports whereas its not working good in the reports where grouping is involved. Could you please help me to resolve it?

Making Claims based authentication work with multi-tenant environment in SP 2010


Does anybody know of a guide or reference for setting up hosting in a multi tenant where authentication happens in claims based mode?


We have a setup where our clients are hosted on a single web application under different site collections. And we use forms authentication where user of a particular site collection gets authentication using the respective database. We now want to use claims based authentication and out-of-the-box multi-tenancy of SP 2010. We can setup site collections and site groups, but how do we implement claims based authentication in an env like this?

Function not working in IE but work in all other browsers



I tested a JQuery function to create a Facebook like progress image. It works like a charm in all browsers (Chrome, Safari, Firefox, Opera) except IE8.

Any idea why?


    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('a').click(function (e) {
                var el = '';
                switch (e.target.text) {
                    case "Box 1":
                        el = '#box1';

Link added to Global Nav does not work from AAM URL


I setup the "My Site" as a separate Web App, as instructed to do so according to best practices.

As such, getting it to be linked from the Global Nav (top navigation bar) requires it to be added manually with a specific URL.  I wasn't able to find any other way to get this to work.

This works great, when accessing from inside the network - however when accessing the site from the internet using an Alternate Accessing Mappings that "hardcoded" URL does not resolve.  Alternatively, if this URL is "hardcoded" to work from the Internet URL, then internally it will not resolve...

Any ideas on what to do?

Can an Audience possibly be setup to display one address or the other based on where the traffic is coming from?

Trouble making collection page work "/


 //CollectionPager1.DataSource = empresasBLL.Find(a => a.ID_EMPRESA.Equals(1)).ToList();
            //CollectionPager1.BindToControl = dtlEmpresas;
            //dtlEmpresas.DataSource = CollectionPager1.DataSourcePaged;

Hello I´m using this code to make the collectionPage work with the datalist.

but when I run the application it dissapears with the data.

does anyone know what I´m doing wrong?


(Encryption related) Need help making this work.....


When I run this statement:

 update SecretData 
  set mySecretData=
      convert(char(3), round(999-899*rand(),0))
   WHERE myID = 1

the value returned in the mySecretData field is always the same. It's like the rand() function is evalued one time and that single result used repeatedly in the query.

1. How can I code this statement to return "random" values to encrypt?

2.  I thought the t-sql encryption functions were non-deterministic, so if rand() did return a single value that was repeatedly used, I'd still expect the mySecretData field to contain different values. But it doesn't.  I'm puzzled.





How to jquery get function work in different folder page i mean.....


this is work

$.get("QC_GridView.aspx",{ QcSearch: "" + "All" + "" },
                        function(data) {

but this is not work   how to run below code

$.get("UserControl/QC_GridView.aspx",{ QcSearch: "" + "All" + "" },
                        function(data) {

asp.net mvc making a file link


ok i have a file link not in the vs 2010 project .basically i have a list page in which i want to show the files , one file each for different organization . how can i make a link to that xml file which exists outside the project

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend