Skip to content

Replies

0
Osama Gadour
Osama Gadour answered on Feb 6, 2020 2:22 PM

Finaaaaaaaaallly, thank you so much for your support, I'm really thankful.

0
Osama Gadour
Osama Gadour answered on Feb 6, 2020 10:09 AM

Thank you for your help and support, now I have created a new empty asp.net page for testing , and it's working fine as below code"

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ff.aspx.vb" Inherits="Leave_Request.ff" %>
  
    




    


    

NOW, I have create another page linked to a master pager, I copied the same code as below, but it didn't work!! it's very strange!! the code of the other page which is linked to a master page.

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="test.aspx.vb" Inherits="Leave_Request.test" %>

     
    
    
       
            
        
            
                
                    
                
                

what do you this the problem is? working fine without the master page, not working with a master page!! which means inside the ContentPlaceHolder not working!

0
Osama Gadour
Osama Gadour answered on Feb 5, 2020 9:13 AM

At the break-point in google chrome, I found that the var grid is returning null!! check this: I am not good with JS, what is wrong with it?

0
Osama Gadour
Osama Gadour answered on Feb 5, 2020 8:33 AM

unfortunately didn’t work, see the screen below still getting the same error that they can’t read the get_behaviors property!!

Please try your code with v 18.2.

0
Osama Gadour
Osama Gadour answered on Nov 21, 2019 9:18 AM

I set it to False, but now I'm only getting the DataBoundFiled "fname", not the ID column, shall I have to add DataBoundField "id"? I have many other columns in the DataTable not only these two, more than 10 columns.

0
Osama Gadour
Osama Gadour answered on Oct 21, 2019 1:36 PM

I am really sorry I forgot to mention that the problem is happening when I'm using a SqlDataSource  as datasource for the WebDataGrid.

0
Osama Gadour
Osama Gadour answered on Oct 21, 2019 8:56 AM

Thank you so much, I found out that the problem was with the WebImageButton, the function is not working with Infragistics WebImageButton unless I click on the row, but with the regular button, the function working fine! any idea please?

here is my code, I created two columns, one for WebImageButton and one for the regular button with same OnClick code as below, as I told you the regular button is working fine, but the WebImageButton of Infragistics is not working:

 Protected Sub WebImageButton1_Click(sender As Object, e As Infragistics.WebUI.WebDataInput.ButtonEventArgs)
        lmsg.Text = WebDataGrid7.Behaviors.Activation.ActiveCell.Row.Items.FindItemByKey("leaveref").Value.ToString
    End Sub


    Protected Sub Button1_Click1(sender As Object, e As EventArgs)
        lmsg.Text = WebDataGrid7.Behaviors.Activation.ActiveCell.Row.Items.FindItemByKey("leaveref").Value.ToString
    End Sub

Thank you again for your support.