Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

File type icon u gridview

[es] :: .NET :: ASP.NET :: File type icon u gridview

[ Pregleda: 320 | Odgovora: 2 ]

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

sivan347
.NET Programer
Beograd

Član broj: 84406
Poruke: 101
*.dynamic.sbb.rs.



Profil

icon File type icon u gridview09.06.2008. u 12:23

Vezao sam GridView na listu file-ova iz nekog foldera i to preko Directory i FileInfo klasa. U GridView- u imam HiperLink kolonu gde prikazujem spisak imena fajlova i to sve radi ok.
Pitanje je da li postoji neki nacin da pored naziva fajla postavim i ikonicu za tip fajla pa cak mozda i u drugu kolonu. Znaci ako je fajl PDF da pored naziva bude ikonica za pdf...
09.06.2008. u 12:23 

mmix
Miljan Mitrovic
Software Architect
Pancevo, Srbija

Moderator
Član broj: 17944
Poruke: 1690
195.252.78.*



Profil

icon Re: File type icon u gridview09.06.2008. u 12:38
Pogledaj ovaj clanak, u principu kad dobijes ikonicu mozes i da je kesiras u vojoj aplikaciji da ubrzas ceo proces

Getting Associated Icons Using C#
▪ The word 'politics' is derived from the word 'poly', meaning 'many', and the word 'ticks', meaning 'blood sucking parasites' - Larry Hardiman
▪ If the good guy gets the girl, it's rated PG; if the bad guy gets the girl, it's rated R; and if everybody gets the girl, it's rated X
▪ Illegal aliens have always been a problem in the United States. Ask any Native American
09.06.2008. u 12:38 

bags
Đorđe Torbica
Vienna, Doboj, Zemun

Član broj: 10072
Poruke: 625
*.it-austria.net.

Sajt: sledecastanica.wordpress...


Profil

icon Re: File type icon u gridview09.06.2008. u 12:49
Kada skupis ikonice onda koristis <asp:Image> tag unutar <ItemTemplate> taga u koloni gde hoces da ti se prikazu.
It is easier to change the specification to fit the program than vice versa.
09.06.2008. u 12:49 

[es] :: .NET :: ASP.NET :: File type icon u gridview

[ Pregleda: 320 | Odgovora: 2 ]

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.