.Net developer

Centering Block Element - CSS Discuss



Centering Block Element - CSS Discuss

Minha loja de teste



















































































ObjectDataSource SelectParameters com Objetos como Parâmetros




Fonte: ObjectDataSource SelectParameters

Erro ao abrir .docx no html (tag A)

Um link, com um anchor (tag ) simples, para um arquivo .doc: OK, SUCESSO. Ao clicar, abre a opção de SALVAR ou ABRIR.

O mesmo link, mas apontado para .docx: ERRO! Ele tenta converter para zip, xml, etc. (neste modo, aqui explica como converter:
http://www.troublefixers.com/repair-corrupt-word-document/).

Para abrir o .DOCX (vale também para .XLSX), sem conversões, e usando C#, é necessário:

  1. Abrir o arquivo via Stream
  2. Converter para Byte[]
  3. Montar o cabeçalho
  4. Printar saída desse resultado.
Veja como:




Modificando dados da celula do grid

Dashboard com widgets

Implementação do dashboard com widgets dockáveis, herdado do framework Efedablio, no sistema MyEcommerce + Novo logotipo do MyEcommerce criado pela fábrica de software da Buenit

Efedablio - Dockable widgets

HTTP X HTTPS


Uma amiga relatou o seguinte problema: Ao acessar o Facebook, aparecia algo estranho na URL do browser e ela não sabia o que era. Era apenas o aviso do Chrome de que o mencionado site não usava HTTPS.

Eu não perdi a chance, claro...








ps: não existe a tecla F13 em nenhum computador do mundo.





HTTPS é uma forma segura de vc acessar websites!

Como qndo você está fazendo compras pela internet, fazendo login em sites de bancos etc, coisas assim.
Mas num Facebook por exemplo, não tem problema acessar via http mesmo, sem ser https, mas o chrome está te avisando e tal, pq ele eh legal :)

140 Comandos pelo “Executar” do Windows | Pplware

140 Comandos pelo “Executar” do Windows | Pplware

IE Unlimited CSS Loader | drupal.org

IE Unlimited CSS Loader | drupal.org

Paging Records Using SQL Server 2005 Database - ROW_NUMBER Function

Paging Records Using SQL Server 2005 Database - ROW_NUMBER Function

Efedablio

Cloud Efedablio

Where in the world is Efedablio?

Exibir mapa ampliado

Delete em cascata

ALTER TABLE [dbo].[TB_FW_TransacaoGrupo] WITH CHECK ADD CONSTRAINT [FK_TB_FW_TransacaoGrupo_TB_FW_Transacao] FOREIGN KEY([ID_TRANSACAO])
REFERENCES [dbo].[TB_FW_Transacao] ([ID_TRANSACAO])
ON DELETE CASCADE
GO

ALTER TABLE [dbo].[TB_FW_TransacaoGrupo] CHECK CONSTRAINT [FK_TB_FW_TransacaoGrupo_TB_FW_Transacao]
GO

Vicio-game

Como carrer Usercontrol num Panel

Control control = Page.LoadControl("../../WebControls/core/services/usercontrol.ascx");
control.GetType().GetProperty("nome_da_propriedade").SetValue(control, "valor", null);
pnl.Controls.Add(control);

Bug on DevExpress Aspxbutton


CASE: A DevExpress Aspxbutton, when has a ICON (image url) and a format on page and the page theme is defined on codebehind, the aspxbutton gets, strangly, too big!

TEST: 4 buttons, trying all possibilities (with/without icon X with autoformat/no autoformat)
this page has a theme defined on coebehind (plastic blue)




It means that you cannot create a page with a devexpresstheme (such as Plastic Blue, used in this sample), set a different autoformat to aspxbutton AND set an image as icon (aspxbutton's image url property).

Download the solution on 4shared.

Assembly="DevExpress.Web.v9.3, Version=9.3.4.0



UPDATED (2011, March 18): It's fixed by DevExpress new version!
I just downloaded DevExpress Themes's files and it's ok now! See:







Aspxhyperlink (a:visited) + Aspxgridview (w/ columns) + IE, sux! ( Dexpress #fail )less than a minute ago via web

Facebook style

Aplicações desenvolvidas por mim, usando DevExpress, C#, CSS (w3c's webstandard) e uma GUI semelhante a Facebook.