User Profile

Collapse

Profile Sidebar

Collapse
lisles
lisles
Last Activity: Dec 22 '10, 06:08 AM
Joined: Jan 15 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • lisles
    replied to open file without saving
    i tried puttin a seperate function for each extension also like pdf,xls and doc but it still asks if i wanna save...is it not possible to open the file directly?
    See more | Go to post

    Leave a comment:


  • lisles
    started a topic open file without saving

    open file without saving

    im trying to open a document...but every time i get a dialoge box asking if i want to pen,save or cancel.i just want to open the document.can someone tell me wot im doing wrong?here's my code
    Code:
     if (objView.extension == ".pdf" || objView.extension == ".xls" || objView.extension == ".xlsx" || objView.extension == ".doc" || objView.extension == ".docx")
                {
    ...
    See more | Go to post

  • lisles
    started a topic How to display binary data as pdf

    How to display binary data as pdf

    im storing a pdf file in binary format (image) in db.any idea how to retrieve the binary data and display it as pdf?
    See more | Go to post

  • lisles
    replied to Delete Row in GridView
    i'l keep that in mind...
    i dont know how to do the delete.can you suggest some way?...
    See more | Go to post

    Leave a comment:


  • lisles
    started a topic Delete Row in GridView

    Delete Row in GridView

    ok,i managed to do this.now im having a problem deleting a record.can you tel me what to do.here's my code
    Code:
    <asp:GridView ID="GridView1" runat="server"  onrowdeleting="GridView1_RowDeleting" >
      <Columns>
         <asp:CommandField ShowDeleteButton="True" HeaderText="Delete">
          <HeaderStyle HorizontalAlign="Left" />
          </asp:CommandField>
    ...
    See more | Go to post
    Last edited by Frinavale; Jul 1 '10, 01:07 PM. Reason: Fixed code tags

  • Put value from textbox to grid without using database

    Can somebody tell me how to put values from a hidden field into a grid without using a database on click of add button.basicall y im entering some values into textboxes and i've to put these values into a gridview first.so i was taking all the values in a hidden field and trying to put them in a grid.but i have no idea how to do it.
    See more | Go to post

  • lisles
    replied to ajax updatePanel
    in .NET
    yes,ImageButton "imgDlEvnt" causes the postback.and yes when i say the whole page posts back i mean i notice, in the browser, that everything is submitted to the server and that everything is refreshed upon returning?...
    See more | Go to post

    Leave a comment:


  • lisles
    replied to ajax updatePanel
    in .NET
    do you have any idea where i may be goin wrong?...
    See more | Go to post

    Leave a comment:


  • lisles
    replied to ajax updatePanel
    in .NET
    the imageselect event that i'd posted earlier is the 1 that causes the postback...ther e is no other function and the datalist dlEvent is within the update panel
    See more | Go to post

    Leave a comment:


  • lisles
    replied to ajax updatePanel
    in .NET
    do you want me 2 post my entire code?...
    See more | Go to post

    Leave a comment:


  • lisles
    replied to ajax updatePanel
    in .NET
    still not working:(...
    See more | Go to post

    Leave a comment:


  • lisles
    replied to ajax updatePanel
    in .NET
    can you tell me how.i did the following
    Code:
              <div style="width: 550px; float: left;">
                               <asp:UpdatePanel ID="updpEvnt" runat="server" UpdateMode="Conditional">
                                            <ContentTemplate>
                              <table>
                                <tr>
    ...
    See more | Go to post

    Leave a comment:


  • lisles
    replied to ajax updatePanel
    in .NET
    i tried puttin the panel in a seperate table also as follows:
    Code:
      <div style="width: 550px; float: left;">
                               <asp:UpdatePanel ID="updpEvnt" runat="server" UpdateMode="Conditional">
                                            <ContentTemplate>
                              <table>
                                <tr>
    ...
    See more | Go to post

    Leave a comment:


  • lisles
    replied to ajax updatePanel
    in .NET
    i commented out the line...but still no difference.the whole page is still getting refreshed...
    See more | Go to post

    Leave a comment:


  • lisles
    replied to ajax updatePanel
    in .NET
    this is my onItemCommand code for the datalist
    Code:
    protected void imageSelect(object source, DataListCommandEventArgs e)
        {
            dlEvnt.SelectedIndex = e.Item.ItemIndex;
            // string id = dlEvnt.DataKeys[dlEvnt.SelectedIndex].ToString();
            BLL_NewsAndEvents objNE = new BLL_NewsAndEvents();
            objNE.Id = dlEvents.DataKeys[dlEvents.SelectedIndex].ToString();
            objNE.Key
    ...
    See more | Go to post

    Leave a comment:


  • lisles
    replied to ajax updatePanel
    in .NET
    yes it is....it is a datalist
    Code:
     <tr>
                                    <td colspan="4" style="width: 540px">
                                        <asp:UpdatePanel ID="updpEvnt" runat="server" UpdateMode="Conditional">
                                            <ContentTemplate>
                                                <%--OnSelectedIndexChanged="selectedIndexChanged"
    ...
    See more | Go to post

    Leave a comment:


  • lisles
    started a topic ajax updatePanel
    in .NET

    ajax updatePanel

    Hi.i want to use a ajax updatepanel.on postnack i only want the datalist "dlEvnt" to get refreshed.but thats not happening.can anybody tell me what to do.
    Here's my code

    edit: massive code block removed. --insertAlias
    See more | Go to post

  • lisles
    started a topic How to enlarge image on mouseover in gridview
    in .NET

    How to enlarge image on mouseover in gridview

    hi;

    Im using a gridview to display images in 1 of the column...but the size of the images is very small.is there anyway to enlarge the image on mouseover or even without mouseover by adjusting the column width or something.i would prefer doing it by mouseover.can anybody help me...my code is below

    Code:
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="news_evnts.aspx.cs" Inherits="news_evnts"
    ...
    See more | Go to post

  • lisles
    started a topic nested datalist and link button
    in .NET

    nested datalist and link button

    how to open datalist containing multiple images on click on link button in selectedIndexCh anged

    Code:
      protected void SelectedIndexChanged(object sender, EventArgs e)
        {
           
            dlEvntImages.Visible = true;
            BLL_NewsAndEvents objNE = new BLL_NewsAndEvents();
            objNE.title = dlEvents.DataKeys[dlEvents.SelectedIndex].ToString();
            objNE.getImageDetails();
    ...
    See more | Go to post

  • how to find a label control within nested datalist on selectedIndexChanged?

    how to find a label control within nested datalist on selectedIndexCh anged?
    Code:
     protected void SelectedIndexChanged(object sender, EventArgs e)
        {
           
            dlEvntImages.Visible = true;
            BLL_NewsAndEvents objNE = new BLL_NewsAndEvents();
            objNE.title = dlEvents.DataKeys[dlEvents.SelectedIndex].ToString();
            objNE.getImageDetails();
            if (objNE.tests)
    ...
    See more | Go to post
No activity results to display
Show More
Working...