Questions tagged as 'gridview'

1
answer

Gridview change Row to ReadOnly

How can I change row of a GridView to readonly? I need to through the values of one of the cells to allow or not to edit the line of GridView .     
asked by 14.04.2014 / 01:19
1
answer

Hide Row GridView C # / ASPX [closed]

In a% of users, if the user clicked edit / delete their own account, I would like to know how to hide the row or disable the GridView button but only for the logged in user, or click the button to edit / delete an error in order to preven...
asked by 17.06.2015 / 11:59
1
answer

Pick selected image and send to another Activity

I wonder if it's possible to grab a selected image and send it to another activity. I'm using fragments and wanted the layout to look like the image below. I would like that when the user selects the image, pick this one and send it to ano...
asked by 25.10.2016 / 20:11
1
answer

How to erase GridView image?

I'm developing an app that contains a gallery, where the user takes photos and the image is shown in GridView , but I do not know how to delete the selected image I have been able to do something like this: the user presses the image an...
asked by 05.09.2016 / 23:50
1
answer

Define variable in the form designer

How can I define a variable in the designer of a form? Today I define the variable for my parameter, but when I see the form it gives this warning (even with the warning, it executes normally):    The variable 'id_grid' is either undeclare...
asked by 10.07.2016 / 18:00
1
answer

Problem with foreach Shopping Cart

I'm having a problem with foreach and I wonder if there's another method to not have to change all the code. What happens is that each time more than one product is added to the cart, if we buy 2 products instead of getting everything...
asked by 09.07.2015 / 13:51
1
answer

How can I set the width of each column in a GridView?

How can I set the width of each column to a GridView in the following case below? <div style="width: 1000px; height: 400px; overflow: scroll"> <asp:GridView ID="Grid" runat="server" AutoGenerateColumns="False" CellPadding=...
asked by 10.11.2015 / 20:08
1
answer

Change background color and item text in GridView [closed]

I have GridView with multiple numbers and I have a click event on items from this GridView . I would like the items that have already been clicked to change the background and text colors, to show the user that they have already bee...
asked by 05.07.2017 / 06:13
1
answer

Get ImageView id in a GridView

Images I want for in GridView private Integer[] imagens= { R.drawable.um, R.drawable.dois, R.drawable.tres, R.drawable.quatro, R.drawable.cinco, R.drawable.seis, R.drawable.sete, R.drawable.oito, R.drawable.nove, R.drawable.dez...
asked by 23.04.2017 / 22:31
1
answer

Show image when mouseover in gridview row

On an HR management site, there is a readiness history query. Here's how the page was made: ASPX FILE <%@ Page Language="C#" AutoEventWireup="true" CodeFile="historicoProntidao.aspx.cs" Inherits="historicoProntidao" %> <!DOCTYPE h...
asked by 13.12.2016 / 13:51